Re: [CMake] How to use generated cmake files?

2009-03-09 Thread Stephan Springer
Am Mo, 9.03.2009, 18:43, schrieb Tyler Roscoe: > You want a custom_command (and probably a custom_target). Check out the > pattern for how to use these here: > http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_generate_an_executable.2C_then_use_the_executable_to_generate_a_file.3F > and in the next coup

[CMake] How to use generated cmake files?

2009-03-09 Thread Stephan Springer
Hi, I'd like to compile a lot of generated C++ source files which are all generated at once with a single command. Since there are issues with using file( GLOB_RECURSE ...) to get a list of these generated files, I tried to additionally generate a file called "sourcelist.cmake" which contains