[Cmake] How to preform different "PostBuildEvent" in debug and release

Patrick Rochon prochon at stelvio.com
Fri May 16 09:10:58 EDT 2003


Hi,

I am using cmake to generate Visual Studio 7 project files.

I would like to know how to preform a "PostBuildEvent" in debug and a
different one in release. Is it possible ?

For example, after building :
c:\dev\rts\debug\rts.dll
I want to copy it in :
c:\dev\binaries\rtsD.dll

and after building :
c:\dev\rts\release\rts.dll
I want to copy it in :
c:\dev\binaries\rtsR.dll

Thanks!

Patrick
Code Administrator
Stelvio inc.




More information about the CMake mailing list