[CMake] CMP0058 warning on configure-time generated source files

2015-10-29 Thread Sylvain Joubert
Hi, In my project I have some source files that are generated at configure time. Much like configure_file but using one execute_process call with an external executable, then a second execute_process with cmake -E copy_if_different to avoid unnecessary rebuild. The generated files (from the build

Re: [CMake] CMP0058 warning on configure-time generated source files

2015-10-29 Thread Brad King
On 10/29/2015 10:33 AM, Sylvain Joubert wrote: > I recently upgraded to CMake >= 3.3 and I get a CMP0058 warning on some > of the generated files. What I don't understand is that: > - These files are not generated at build time but at configure time, > why can't they just be seen as regular sourc