Seem that add_definitions(/UTheSymbol) did the job! -totte
On 6/12/2012 2:57 PM, Totte Karlsson wrote:
Hi, I have a folder in which I build a library. For doing so I have a add_definitions(-DMySymbol) line It seems that subfolders inherits this,which I don't want. How do I "undef" the MySymbol symbol in a subfolder CMakeList file? -totte
-- 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