Hi,
After some struggle, I learned that ADD_DEFINITIONS and
COMPILE_DEFINITIONS are different. The ADD_DEFINITIONS allows
for -D, but COMPILE_DEFINITIONS does not.
For example, this works:
ADD_DEFINITIONS(${wxWidgets_DEFINITIONS})
but not this:
SET_SOURCE_FILES_PROPERTIES(mondoshot_main.cpp
PROPERTIES COMPILE_DEFINITIONS
${wxWidgets_DEFINITIONS}
)
Is this a bug or a feature?
Any clean way to convert to COMPILE_DEFINITIONS format?
Greg Sharp
[email protected]
_______________________________________________
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