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 couple of FAQ entries.

    Thanks, but I already read the FAQ.  If I don't get it wrong, these
sections state how to use generated source files (a task which I already
accomplished successfully).

    But how do I use a generated CMake include() file?  How do I tell CMake to
generate a file which can be read with include() in case it is not there
yet (or outdated)?  Is this possible at all?

Thanks,

    - Stephan.

_______________________________________________
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

Reply via email to