Marcel,

I am not sure what you need. If you want to convert config.h.in into 
config.h, then see CONFIGURE_FILE and #cmakedefine.

For other files you may want to check ADD_CUSTOM_COMMAND and 
SET_SOURCE_FILES_PROPERTIES(${FILE} PROPERTIES GENERATED TRUE)

Denis


> I was trying to figure out how to generate a preprocessed
> file. By
> browsing the CMake modules and by printing all CMake
> variables I
> discovered CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE
> variables. That
> suggests that there is support for generating preprocessed
> files. 
> 
> However, there's no mention of these variables in the
> documentation, or
> the FAQ or the Wiki. How should I tell CMake to add rules
> to my Unix
> Makefiles for generating preprocessed (.i) files?



      
_______________________________________________
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