From 204e8c8c3655600ddd204062b536a31609925e67 Mon Sep 17 00:00:00 2001 From: thomas-bc Date: Wed, 8 Nov 2023 15:20:58 -0800 Subject: [PATCH] Rename noop target to refresh_cache --- cmake/FPrime.cmake | 2 +- cmake/target/noop.cmake | 15 --------------- cmake/target/refresh_cache.cmake | 15 +++++++++++++++ 3 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 cmake/target/noop.cmake create mode 100644 cmake/target/refresh_cache.cmake 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)