summaryrefslogtreecommitdiffstats
path: root/cmake/cmake.d/03-macros.cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-25 10:06:44 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-08-25 10:06:44 +0200
commit36dca05828b8b2ba7231b9096a769c9dc523477d (patch)
tree2b10886fcb0b7697898a7e5a024beb1a07984097 /cmake/cmake.d/03-macros.cmake
parent4a4b3ccac7c0d44b15cd3ccb35b39d6c6bf26607 (diff)
add_input_target targets built by default
Adding to 'all' target Change-Id: I3b4696ced961a5ccc6a35cbb1ab64cbd489af45b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/cmake.d/03-macros.cmake')
-rw-r--r--cmake/cmake.d/03-macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/cmake.d/03-macros.cmake b/cmake/cmake.d/03-macros.cmake
index 0bab354..963dd75 100644
--- a/cmake/cmake.d/03-macros.cmake
+++ b/cmake/cmake.d/03-macros.cmake
@@ -154,7 +154,7 @@ macro(add_input_files INPUT_FILES)
#list(FILTER LUA_LIST INCLUDE REGEX "lua$")
#list(FILTER JSON_LIST INCLUDE REGEX "json$")
- add_custom_target(${TARGET_NAME}
+ add_custom_target(${TARGET_NAME} ALL
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_NAME}
)