[CMake] How does one figure configuration in CMakeLists.txt?

Shishir Ramam sramam at gmail.com
Sat Feb 26 11:19:08 EST 2005


Hi,
I have been unable to figure out which config (Debug/Release)
is set in a Visual Studio project. 

The problem is that I'd like to copy a config file into the same 
directory as the executable in the binary tree. 

Using ${CMAKE_CURRENT_BINARY_DIR} puts it in the 
parent directory of the executable. 

I can always change the code, but it's a 3rd party module 
and there is a reluctance to modify source on my part. 

thanks in advance for all help. 
-shishir


More information about the CMake mailing list