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
--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to