I cannot seem to get the following to work when using the Xcode generator
(Unix Makefile and Visual Studio ones work fine)

SET_TARGET_PROPERTIES (${PLUGIN_NAME} PROPERTIES
    LINK_FLAGS "-L${LIBRARY_OUTPUT_PATH}/.."
    LINK_FLAGS_DEBUG "XXXXXXXXXXXXXXXXX"
    LINK_FLAGS_RELEASE "YYYYYYYYYYYYYYYYYY"
    PREFIX "../"
)

the X's and Y's never appear on the build line when used with:
xcodebuild -project <project name>.xcodeproj/ -configuration Debug

cmake --version is:
cmake version 2.6-patch 2

Had the same problem in the 2.4 version we were using up to now. Is there
any other way to specify additional linker flags that are separated between
debug and release?

Thanks!
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to