[CMake] ADD_CUSTOM_TARGET

bradbell at seanet.com bradbell at seanet.com
Wed Jan 16 17:01:08 EST 2013


The problem is that the script fails when using cmake 2.6. I want to know
if this is expected or a bug ?

I filed a bug report with Red-Hat 6, but they just decided to ignore it. See
        https://bugzilla.redhat.com/show_bug.cgi?id=896116

Perhaps someone knows a way around this problem ?


> 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