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.

_______________________________________________
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