[CMake] Custom command based on build type

Robert Bielik robert.bielik at xponaut.se
Tue Sep 21 13:08:13 EDT 2010


Hi all,

I need to add a post build event to a VS 2008 project, and only in Release configuration. Some answers on the net
suggest CMAKE_BUILD_TYPE, but that doesn't work as the description of CMAKE_BUILD_TYPE suggests.

Any other way to accomplish this ?

TIA
/Rob


More information about the CMake mailing list