Re: [CMake] add_custom and files generated into subdirectories

2012-04-12 Thread William R. Otte
Hi Micha - On Apr 12, 2012, at 2:42 AM, Micha Renner wrote: > I guess, this is one of the rare cases where one need: > > SET_SOURCE_FILES_PROPERTIES(Foo.cpp PROPERTIES GENERATED TRUE) > Thanks! There's no way to do this automatically? I'd be fine with not having cmake try to find source fi

Re: [CMake] add_custom and files generated into subdirectories

2012-04-12 Thread Micha Renner
I guess, this is one of the rare cases where one need: SET_SOURCE_FILES_PROPERTIES(Foo.cpp PROPERTIES GENERATED TRUE) Greetings Micha Am Mittwoch, den 11.04.2012, 11:18 -0500 schrieb William R. Otte: > Hi - > > I have a question about resolving dependencies when add_custom is used to > gene

[CMake] add_custom and files generated into subdirectories

2012-04-11 Thread William R. Otte
Hi - I have a question about resolving dependencies when add_custom is used to generate files into subdirectories. Consider the following example (substantially simplified from my use case, but it captures the essence of what I am trying to do: In the root of the project, I have the followin