Skip to content

Commit

Permalink
Rename noop target to refresh_cache (#2361)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-bc authored Nov 9, 2023
1 parent 9c433a4 commit 066317f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion cmake/FPrime.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
15 changes: 0 additions & 15 deletions cmake/target/noop.cmake

This file was deleted.

15 changes: 15 additions & 0 deletions cmake/target/refresh_cache.cmake
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 066317f

Please sign in to comment.