The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13303 
====================================================================== 
Reported By:                tree
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13303
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-06-14 11:09 EDT
Last Modified:              2012-06-14 11:09 EDT
====================================================================== 
Summary:                    Strange issues when using "target_link_libraries" to
link stlport and boost on XCode 4
Description: 
I orgnize stlport libraries in two directories like:
stlport/Debug/libstlportstlg.5.2.1.dylib (represented as A)
stlport/Release/libstlport.5.2.dylib (represented as B)

and then use command
target_link_libraries(taget debug ${A})
target_link_libraries(taget optimized ${B})

After generating XCode project, I found in "Building Settings/Other Linker
Flags", both the two libraries exist under both "Debug" and "RelWithDebInfo".

In happens to boost either. But for other libraries it works as expected.

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-06-14 11:09 tree           New 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