[CMake] iOS library out path
Saad Khattak
saadrustam at gmail.com
Mon Apr 1 11:28:18 EDT 2013
Hi,
If I set the LIBRARY_OUTPUT_PATH for iOS projects like this:
someDir/lib/
then the final directory for the library outputs is:
someDir/lib/debug
assuming I am building the debug configuration. But if I now specify the
directories for linking:
link_directories(someDir/lib)
in Xcode the path becomes:
someDir/lib/debug-iphonesimulator
If I do not set LIBRARY_OUTPUT_PATH then CMake correct sets the output
directory to
build/src/debug-iphonesimulator
So it appears that CMake does not add -iphonesimulator (or doesn't let
Xcode add it - not sure as my knowledge of CMake is limited) for custom
library output paths.
Is this a bug? If not, what am I doing wrong?
Thanks,
Saad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130401/3d9709ee/attachment.htm>
More information about the CMake
mailing list