Re: [CMake] External library dependency

2013-09-20 Thread Magnus Johansson
We have a similar situation and the following works well enough for us: ExternalProject_Add( big_external_project ... ) set(OUTPUT_FILES files generated by the external build here) set_source_files_properties(${OUTPUT_FILES} PROPERTIES GENERATED true) add_library(internal_library ${OUTPUT_F

[CMake] External library dependency

2013-09-19 Thread Weatherby,Gerard
We have an external library which is not easily "cmakeable" and takes a long time to compile. We have a static copy of the source in our SCCS, so we don't need to fetch etc. What we'd like to have happen is have the code compile if and only if the output libraries are not present. The best I'v