The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=13048 
====================================================================== 
Reported By:                Karthik Kumar Viswanathan
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13048
Category:                   CMake
Reproducibility:            always
Severity:                   block
Priority:                   immediate
Status:                     new
====================================================================== 
Date Submitted:             2012-03-17 09:16 EDT
Last Modified:              2012-03-17 09:16 EDT
====================================================================== 
Summary:                    CMake 2.8.7 Nightly fails to link correctly in XCode
4.3
Description: 
Hi,

I generated the CMake Xcode 4.3 project...

Karthiks-MacBook-Air:allegro5engine karthik$ cmake -version
cmake version 2.8.7.20120313-ga2183

I am creating a library, then linking to it.

I use:
add_library(engine ${EngineFiles})

and it emits to Build/ Src/Debug-iphone/engine.a

When I link, I use:

target_link_libraries(main engine ${AllLibraries} ${ExtraLibraries}
${CMAKE_EXTRA_LINKER_FLAGS})

but it tries to link against:

Build/ Src/Debug/engine.a

This CMake used to work perfectly in Xcode 4.2.... It's breaking with 4.3.1.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-03-17 09:16 Karthik Kumar ViswanathanNew Issue                             
      
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to