Hi y'all, I'm a rather new cmake user and I've got a hen & egg problem:
My generator takes an inputfile and a directory, it creates output files in that directory. Number and names of generated files depend on the contents of the inputfile. However, it also generates a file with a known name that contains the names of all generated files. The generated files must be compiled to a library, which will be linked into an executable. Unfortunately, depency generation and <add_custom_command> need to know the exact filenames in advance ... So finally my question: As I already know when to regenerate (inputfile newer than filelist), is there a way to trigger a new dependency calculation followed by the build of the library? I'm using Makefiles on Unix. By looking into the generated Makefiles it seems that --check-build-system might be involved. But that's an undocumented options, so I hesitate to even start playing around with it. I would be greatful for some advice. Thx, Dirk
DFS Deutsche Flugsicherung GmbH Am DFS-Campus 10 D - 63225 Langen Tel.: +49-(0)6103-707-0 Sitz der Gesellschaft: Langen/Hessen Zuständiges Registergericht: AG Offenbach am Main, HRB 34977 Vorsitzender des Aufsichtsrates: Robert Scholl Geschäftsführer: Dieter Kaden (Vors.), Ralph Riedle, Jens Bergmann Internet: http://www.dfs.de Public-Key der DFS: http://www.dfs.de/dfs/public_key.asc
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
