[Cmake] cmake -E

Kevin Wright Kevin.Wright at ansys.com
Wed, 7 Jan 2004 10:05:47 -0500


> What version of cmake are you using?=20
>=20
> I just tried the following:
>=20
> ADD_CUSTOM_COMMAND(TARGET generator POST_BUILD COMMAND=20
> ${CMAKE_COMMAND} ARGS -E copy_if_different generator.exe foo.exe)
>=20
> and this was in the .dsp file:
>=20
> PostBuild_Cmds=3Dc:\hoffman\CMake-vc-dashboard\bin\Release\cmake
> .exe -E copy_if_different generator.exe foo.exe=20

I was using 1.8.1.  I just downloaded 1.8.2 and it seems to make the =
problem go away.  Apologies, I should have tried that first.

Kevin.