Hi,
I'd like to compile a lot of generated C++ source files which are all
generated at once with a single command. Since there are issues with
using file( GLOB_RECURSE ...) to get a list of these generated files, I
tried to additionally generate a file called "sourcelist.cmake" which
contains a list( APPEND ...) command with a list of all generated files.
Now I include() this file from my CMakeLists.txt and it works as expected
- as long as that sourcelist.cmake file is already there. If it's not,
I'm getting an error "include could not find load file".
How could I set up a dependency which starts my generator in case this
include file is not there yet? I've tried a few things, looked at the FAQ
and googled a bit, but couldn't find anything. I'm using CMake 2.6.2 on
Linux.
Thanks,
- Stephan.
_______________________________________________
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