[CMake] Generating Source Files

Jeremy Cowgar jeremy at cowgar.com
Sat Apr 4 14:27:50 EDT 2009


I am confused on how that would help me. The ADD_CUSTOM_COMMAND 
generates many source files, and it has dependencies, so it does not 
have to generate source files many times, but sometimes it does. When it 
does, I need the FILE( GLOB .. ) to execute after that custom command is 
run so that the rest of my script can continue.

Jeremy


Philip Lowman wrote:
> You can run a CMake script with add_custom_command() which executes
> file(blob).  Check out the "-P" flag to cmake.
>   



More information about the CMake mailing list