> On May 19, 2017, at 3:48 PM, Urs Thuermann <u...@isnogud.escape.de> wrote:
> 
> Craig Scott <craig.sc...@crascit.com> writes:
> 
>> A bit of a long-shot, have you tried generating the file with the extension
>> .h instead of .c? That might allow it to be picked up by the dependency
>> scanner (I don't know if it treats file extensions differently). Also, the
>> add_custom_command(OUTPUT...) call needs to be in the same
>> CMakeLists.txt
> 
> No, I have tried that before in several variations, and nothing
> worked.
> 


Here:

https://github.com/mellery451/gen_header

works for with me with makefile generator.

-Mike
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to