[CMake] User generated header file

Eric Noulard eric.noulard at gmail.com
Mon Sep 19 07:47:13 EDT 2011


2011/9/19 Perry Ismangil <perry at pjsip.org>:
> On Sun, Sep 18, 2011 at 16:47, C. Meissa <carsten.meissa at gmx.de> wrote:
>>
>> Do you want the user to manually add the header, or do you want cmake
>> to create it?
>>
>
> User will manually add it before compile, so Eric mentioned setting
> the GENERATED property to true, it works.

The fact is it works the way you want, which is good, but beside that
why would it be better for the user to face a failing build (because
he forgot to create the file)
than
face a failing CMake run (because he forgot to create the file)?



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


More information about the CMake mailing list