Jörg Förstner wrote:
Hi, ----------------------- So the big question is: ----------------------- Why do I need to manually add "gen.h" to the ADD_LIBRARY() command?
To let CMake know it is a generated file. When the depend scanner runs the file will not be there. It is just how it works. -Bill _______________________________________________ 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
