[CMake] Targets organisation of complex project
Pau Garcia i Quiles
pgquiles at elpauer.org
Sun Oct 11 22:48:39 EDT 2009
> Yeah, this is a pretty good approach. Unfortunately I had difficulty
> with it because I needed to use code generation via
> add_custom_command() to create some of the source files. I couldn't
> seem to get the dependency resolution for the generated files to work
> unless I had the custom command inside the *same* CMakeLists.txt which
> built the library.
Could you please give more insight into what problems you were having
with generated files? Did you do SET_SOURCE_FILES_PROPERTIES(
generatedsource.cpp PROPERTIES GENERATED 1 ) ?
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
More information about the CMake
mailing list