[CMake] per configuration settings

Clinton Stimpson clinton at elemtech.com
Wed Oct 20 17:28:31 EDT 2004


On windows, I have some 3rd party libraries where I have a set of 
release libraries and a set of debug libraries.  The .lib files are in 
different directories.

How do I tell CMake that my debug libraries are in one directory and my 
release ones in another directory?  I'm generating windows project files.

Also, how do I tell CMake to add a certain preprocessor define for a 
release build and a different one for a debug build?

Thanks,
Clint




More information about the CMake mailing list