I forgot to aks - what is the recommended way of adding multiple
definitions? i.e. /D_DEBUG /D_NO_GZIP?
Thx++
On 24/11/2011 22:22, Michael Hertling wrote:
On 11/24/2011 07:08 PM, [email protected] wrote:
How can I do this? Specifically generating for XCode.
My cmakefile has this:
if (${CMAKE_CFG_INTDIR} STREQUAL "Debug")
Message("We are generating/building debug code for ${this_target}")
ADD_DEFINITIONS(/D_DEBUG)
endif()
But _DEBUG is never defined.
This question comes up twice on StackOverflow. Both answers are
endlessly mutually referential ...
Thx++
SET_DIRECTORY_PROPERTIES(PROPERTIES COMPILE_DEFINITIONS_DEBUG _DEBUG)
Regards,
Michael
--
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
--
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