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
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