The following issue is now in status NEW (again) 
====================================================================== 
http://public.kitware.com/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-11-21 15:45 EST
====================================================================== 
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.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012621 Compatibility with Xcode 4.3
related to          0012640 set(CMAKE_XCODE_EFFECTIVE_PLATFORMS "-i...
related to          0013100 0013048  CMake 2.8.7 Nightly fails to l...
====================================================================== 

---------------------------------------------------------------------- 
 (0028924) Karthik Kumar Viswanathan (reporter) - 2012-03-24 01:26
 http://public.kitware.com/Bug/view.php?id=13048#c28924 
---------------------------------------------------------------------- 
Debug-iphonesimulator...

Has there been any updates on this issue yet?

 

---------------------------------------------------------------------- 
 (0029067) David Cole (manager) - 2012-04-03 12:09
 http://public.kitware.com/Bug/view.php?id=13048#c29067 
---------------------------------------------------------------------- 
Are you setting the CMake variable "CMAKE_XCODE_EFFECTIVE_PLATFORMS"?

See also http://public.kitware.com/Bug/view.php?id=12640

And the example usage of it in the iOSNavApp test in the CMake source tree:

 
http://public.kitware.com/gitweb?p=cmake.git;a=blob;f=Tests/iOSNavApp/CMakeLists.txt;h=12c3ada35799563a13f567b074d7d3eb936191df;hb=9ad3fa7e853d933e70af0a75d711ffa1d926b507


---------------------------------------------------------------------- 
 (0031673) David Cole (manager) - 2012-11-21 15:44
 http://public.kitware.com/Bug/view.php?id=13048#c31673 
---------------------------------------------------------------------- 
Un-assigning bugs that are not on the active roadmap, which no developers are
actively working on for the CMake 2.8.11 release.

If one gets put back on the roadmap, re-assign it appropriately at that time. 

---------------------------------------------------------------------- 
 (0031674) David Cole (manager) - 2012-11-21 15:45
 http://public.kitware.com/Bug/view.php?id=13048#c31674 
---------------------------------------------------------------------- 
Re-setting status back to "new" for bugs that are "assigned" but not assigned to
a specific developer. When/if these bugs go back on the roadmap for a specific
version, assignment to an appropriate developer should take place then... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-03-17 09:16 Karthik Kumar ViswanathanNew Issue                             
      
2012-03-17 09:24 Karthik Kumar ViswanathanNote Added: 0028924                   
      
2012-03-19 08:37 Brad King      Relationship added       related to 0012621  
2012-03-19 08:53 Brad King      Assigned To               => David Cole      
2012-03-19 08:53 Brad King      Status                   new => assigned     
2012-03-24 01:26 Karthik Kumar ViswanathanNote Edited: 0028924                  
      
2012-04-03 12:03 David Cole     Relationship added       related to 0013100  
2012-04-03 12:09 David Cole     Note Added: 0029067                          
2012-04-03 12:10 David Cole     Relationship added       related to 0012640  
2012-11-21 15:44 David Cole     Note Added: 0031673                          
2012-11-21 15:45 David Cole     Assigned To              David Cole =>       
2012-11-21 15:45 David Cole     Note Added: 0031674                          
2012-11-21 15:45 David Cole     Status                   assigned => new     
======================================================================

--

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