Either add it to your COMPILE_FLAGS, or create/configure a header file
with #undef lines.
Ryan
On 09/30/2010 01:18 PM, Steven Wilson wrote:
Using set_target_properties() we can set the COMPILE_DEFINITIONS
target property to easily define preprocessor macros for our build.
Is there a mechanism to undefine preprocessor macros (equivalent to -U
for many Unix compilers or /U for Microsoft's compilers)?
Thanks,
Steve
_______________________________________________
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
--
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University
Member, ACM and ACM SIGCHI
Member, ASME
http://academic.cleardefinition.com
_______________________________________________
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