On Thursday 23 October 2008, [EMAIL PROTECTED] wrote: > Hi, > These files are needed for the build. The only way I found is to put > include path in a variable and then used it in add_custom_command.... > Sebastien
Hmm, here's a not very nice idea, you could try something like: make a add_custom_command(OUTPUT foo.i COMMAND ${CMAKE_MAKE_PROGRAM} foo.i COMMAND ${CMAKE_COMMAND} -E copy_if_different foo.i <the appropriate location DEPENDS ... ) Alex _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake