diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-25 10:06:44 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | 2edb041ff534717979b72a7940284e7bf49a727f (patch) | |
tree | 5bd77b4ab6266349bfcef08a199a1ec58e1dd080 /cmake | |
parent | 44c82fa7586ac56f2547be006b9b0c2694c4d78d (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')
-rw-r--r-- | cmake/cmake.d/03-macros.cmake | 2 |
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} ) |