[CMake] ExternalProject, continuous integration and caching builds
Innokentiy Alaytsev
alaitsev at gmail.com
Wed Sep 5 10:49:51 EDT 2018
Hello!
You may try to perform some "caching" actions yourself: store some kind of a
checksum for the archive with the downloaded sources and only build
ExternalProject if the checksum changes or if there is no previously built
ExternalProject with the same checksum. It is also possible to only store
checksum for the archive link if it is guaranteed to be different for
different dependency versions.
Here
<https://gitlab.com/UtilityToolKit/utk.cmake/blob/master/utk_cmake_package.cmake#L76>
is an ugly implementation of a similar logic for downloaded project.
Best regards,
Innokentiy
--
Sent from: http://cmake.3232098.n2.nabble.com/
More information about the CMake
mailing list