[CMake] ADD_CUSTOM_TARGET

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jan 16 15:55:19 EST 2013


On Tuesday 15 January 2013, Brad Bell wrote:
> I am trying to build a project for Red-hat 6 which uses the following
> cmake version
>      bradbell at gorst trash]$ cmake --version
>      cmake version 2.6-patch 4
> 
> While doing so I am having trouble with the ADD_CUSTOM_TARGET. To be
> specifc, after building a custom target, cmake seems to forget it has
> done so.
> 
> Below is an example CMakeLists for which
>      make check
> works with cmake 2.8.9 and fails with 2.6-patch 4:

I tested, it works since cmake 2.8.4.

And what was the exact problem ?

Alex


More information about the CMake mailing list