[CMake] Why is this custom command run twice?

Brad King brad.king at kitware.com
Wed Apr 28 12:52:51 EDT 2010


elizabeta petreska wrote:
>  I am using Visual Studio 2010 generator and cmake 2.8.1
> The example code you show, does work with Visual Studio 2005 generator
> and visual studio 2008 generator , but does not work with  Visual Studio
> 2010 generator, i.e
> If I touch the ${PROJECT_BINARY_DIR}/generated.txt, the target is not
> built anew.

Can you create a VS project manually through the IDE in which
this works correctly?

-Brad


More information about the CMake mailing list