First off, I apologize if this is a very newbie-level question.
I need to set the value of a variable based on based on generated files,
using the "file" command. Something like:
file(GLOB varFoo "*.cpp")

Here the cpp files are generated, so the value of varFoo comes up as empty
when the build runs the first time. Is there any way to add a dependency on
the file generation step to the "file" command?
_______________________________________________
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