[CMake] add_custom_command problem

Eric Noulard eric.noulard at gmail.com
Mon Jan 17 07:19:19 EST 2011


2011/1/17 Andrea Galeazzi <galeazzi at korg.it>:
> Il 17/01/2011 12.34, Eric Noulard ha scritto:
>> I just realized something.
>> Do you want
>>    A) to increase the build number EACH time you build
>>    B) to increase the build number WHEN of of the SOURCES change?
>
> The B is definitely my choice.

So then what is the precise symptom.

1) The BuildNumber.h is never generated (and you have a compile error)
2) The BuildNumber.h is never regenerated when Config.cpp change?

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list