diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-07-07 12:20:19 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | 6f2a90b284d699fcb4a858523ee3952d182401a0 (patch) | |
tree | 00a90b7aec363d046227067aba329f9df68ac61d /cmake/cmake.d | |
parent | 3aa6c913a88f129413f9f66ba7dd97142e25e9b7 (diff) |
Add configured file to files to clean up with make
Change-Id: Ibef0a4628bf3fe0b830f19fc8aa2f3e5d4b1ff19
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/cmake.d')
-rw-r--r-- | cmake/cmake.d/02-macros.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/cmake.d/02-macros.cmake b/cmake/cmake.d/02-macros.cmake index 7444214..2a014a1 100644 --- a/cmake/cmake.d/02-macros.cmake +++ b/cmake/cmake.d/02-macros.cmake @@ -44,6 +44,7 @@ macro(configure_files_in_dir dir) string(REGEX REPLACE "target" "${RSYNC_TARGET}" destinationfile ${filename}) string(REGEX REPLACE ".in$" "" destinationfile ${destinationfile}) configure_file(${file} ${CMAKE_CURRENT_BINARY_DIR}/target/${destinationfile}) + set(ADDITIONAL_MAKE_CLEAN_FILES, "${destinationfile}") endforeach() endmacro(configure_files_in_dir) |