[CMake] undef a symbol

Totte Karlsson totte at dunescientific.com
Tue Jun 12 17:57:22 EDT 2012


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

-- 
.........................
Totte Karlsson, Ph.D.
Dune Scientific, LLC
425-296 1980 (office)
425-780 9648 (cell)
www.dunescientific.com
.........................



More information about the CMake mailing list