[CMake] Output name and path depeding on debug/release mode

Fieselmann, Andreas (ext) andreas.fieselmann.ext at siemens.com
Thu Sep 6 12:13:49 EDT 2007


Dear CMake users!
 
I am using Visual C++ 6.0 and I'd like to have different output names
for the dlls I am building depending if they are in release or debug
mode. Additionally they should be placed in a certain path.
For example:
release mode: C:\anypath\outputdll_release.dll
debug mode:   C:\anypath\outputdll_debug.dll 
 
How can I configure CMake to do this ? Any help is very much
appreciated.
 
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070906/90d06464/attachment.html


More information about the CMake mailing list