Open radarhere opened 1 week ago
All build_* functions in library_builders.sh create a *-stamp file, to prevent the function from being run more than once. For example,
build_*
*-stamp
https://github.com/multi-build/multibuild/blob/9a9d1275f025f737cdaa3c451ba07129dd95f361/library_builders.sh#L155-L163
This PR suggests adding that feature to get_modern_cmake as well. It is slightly different - all of the code within should not be skipped on subsequent calls, as get_modern_cmake does echo a result - but the install commands can be skipped.
get_modern_cmake
All
build_*
functions in library_builders.sh create a*-stamp
file, to prevent the function from being run more than once. For example,https://github.com/multi-build/multibuild/blob/9a9d1275f025f737cdaa3c451ba07129dd95f361/library_builders.sh#L155-L163
This PR suggests adding that feature to
get_modern_cmake
as well. It is slightly different - all of the code within should not be skipped on subsequent calls, asget_modern_cmake
does echo a result - but the install commands can be skipped.