Jeremy Cowgar wrote:
Bill Hoffman wrote:
Jeremy Cowgar wrote:
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.


Is there no way to compute or know the names of all the files that will be generated at CMake time?

Ok, our parser now writes a <prgname>.mak file that contains two lines, SOURCES=abc.c def.c xyz. and OBJECTS=abc.obj def.obj xyz.obj

However, it does so after translation. Is there a way to read this file in *after* the custom command runs? Maybe I can get the list of source files that way?

Jeremy


_______________________________________________
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