Skip to content

Commit

Permalink
[cmake] ninja clean will now clear out all package directories, previ…
Browse files Browse the repository at this point in the history
…ously they were sticking around and being ignored by target-clean
  • Loading branch information
harrand committed Oct 22, 2024
1 parent 1c42b25 commit 46e61d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/package.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,7 @@ function(topaz_define_package)
COMMAND_EXPAND_LISTS
)
endif()

# make target-clean clear out the folder otherwise it sits there forever (annoying)
set_target_properties(${TOPAZ_DEFINE_PACKAGE_TARGET} PROPERTIES ADDITIONAL_CLEAN_FILES ${package_dir})
endfunction()

0 comments on commit 46e61d6

Please sign in to comment.