diff --git a/cmake/FPrime.cmake b/cmake/FPrime.cmake index 78d1716cfa..802841e69a 100644 --- a/cmake/FPrime.cmake +++ b/cmake/FPrime.cmake @@ -70,7 +70,7 @@ register_fprime_target(target/build) register_fprime_build_autocoder(autocoder/fpp) register_fprime_build_autocoder(autocoder/ai_xml) register_fprime_build_autocoder(autocoder/packets) -register_fprime_target(target/noop) +register_fprime_target(target/refresh_cache) register_fprime_target(target/version) register_fprime_target(target/install) register_fprime_ut_target(target/ut) diff --git a/cmake/target/noop.cmake b/cmake/target/noop.cmake deleted file mode 100644 index 0f77901873..0000000000 --- a/cmake/target/noop.cmake +++ /dev/null @@ -1,15 +0,0 @@ -#### -# cmake/target/noop.cmake: -# -# A target that does nothing, or a quick way to refresh cache only when necessary. -#### - -function(noop_add_global_target) - add_custom_target("noop") -endfunction() - -function(noop_add_deployment_target MODULE TARGET SOURCES DEPENDENCIES FULL_DEPENDENCIES) -endfunction() - -function(noop_add_module_target MODULE_NAME TARGET_NAME SOURCE_FILES DEPENDENCIES) -endfunction(noop_add_module_target) diff --git a/cmake/target/refresh_cache.cmake b/cmake/target/refresh_cache.cmake new file mode 100644 index 0000000000..c21e70f1b0 --- /dev/null +++ b/cmake/target/refresh_cache.cmake @@ -0,0 +1,15 @@ +#### +# cmake/target/refresh_cache.cmake: +# +# A target that does nothing, or a quick way to refresh cache only when necessary. +#### + +function(refresh_cache_add_global_target) + add_custom_target("refresh_cache") +endfunction() + +function(refresh_cache_add_deployment_target MODULE TARGET SOURCES DEPENDENCIES FULL_DEPENDENCIES) +endfunction() + +function(refresh_cache_add_module_target MODULE_NAME TARGET_NAME SOURCE_FILES DEPENDENCIES) +endfunction(refresh_cache_add_module_target)