02.02.2011, 17:37, "Michael Hertling" <[email protected]>:
>>  Obviously I can choose arbitrary executable and link my target to it.
>
> Preferably, choose the targets which need the version.h header.

All executables (well ... but some tests) require version.h

Looks like the cleanest approach is to have all executables dependent on 
version.h

> Another possible approach would be a dependency of the built-in target
> "all" on the custom target which generates the header, so consider to
> vote for #8438 when the question for the most appreciated bug fixes /
> feature requests will be asked again.

I will.

Thanks a lot.

-- 
Best regards,
Ilja Golshtein.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to