[cmake-developers] [CMake 0014185]: Xcode: Use "Link Binary With Libraries" build phase when possible

Mantis Bug Tracker mantis at public.kitware.com
Sat Jun 1 12:32:43 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14185 
====================================================================== 
Reported By:                nic
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14185
Category:                   CMake
Reproducibility:            have not tried
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-06-01 12:32 EDT
Last Modified:              2013-06-01 12:32 EDT
====================================================================== 
Summary:                    Xcode: Use "Link Binary With Libraries" build phase
when possible
Description: 
According to the FAQ at [1], the "Link Binary With Libraries" is not used
because it does not support flags such as "-lfoo". However, the correct build
phase should be used when possible, ie. when the full path to the library is
known.

[1]:
http://www.cmake.org/Wiki/CMake_FAQ#Why_do_generated_Xcode_projects_have_a_CMake_PostBuild_Rules_phase.3F

Additional Information: 
This feature has a huge impact when working with multiple "loosely coupled"
projects that are all being developed simultaneously in their respective build
trees. Such projects can be combined in a single Xcode workspace. Currently, all
projects must be built and updated manually. Using the "Link Binary With
Libraries" build phase would automatically take care of updating necessary
dependencies.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-06-01 12:32 nic            New Issue                                    
======================================================================




More information about the cmake-developers mailing list