On Sun, Sep 18, 2011 at 16:43, Eric Noulard <eric.noulard at gmail.com> wrote: > > You may tell CMake that this file is generated as part of the build: > set_source_files_properties(your_header.h PROPERTIES GENERATED TRUE) > Thanks Eric, this is indeed the property I was looking for to get the right behaviour. -- Perry Ismangil