>>> 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)?
>

My question is can't you have CMake generate the header for the user
instead of them supplying a file? Is it just defines in this header?

John
_______________________________________________
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