diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2018-09-24 18:42:32 -0700 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2018-09-24 18:42:32 -0700 |
commit | 86ec94126885dc0756abe2e00ecbe71288c13410 (patch) | |
tree | 7b9570be61ca539e9cfc03836d94710b6eb1d93b /src/expr | |
parent | 75d509498c42f9433a778299cf27b6f915c7fd34 (diff) |
cmake: Fix dependencies for code generation. (#2524)
Diffstat (limited to 'src/expr')
-rw-r--r-- | src/expr/CMakeLists.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/expr/CMakeLists.txt b/src/expr/CMakeLists.txt index 6a06bc8ed..35ef34dfa 100644 --- a/src/expr/CMakeLists.txt +++ b/src/expr/CMakeLists.txt @@ -77,7 +77,7 @@ add_custom_command( ${CMAKE_CURRENT_LIST_DIR}/kind_template.h ${KINDS_FILES} > ${CMAKE_CURRENT_BINARY_DIR}/kind.h - DEPENDS mkkind kind_template.h + DEPENDS mkkind kind_template.h ${KINDS_FILES} ) add_custom_command( @@ -87,7 +87,7 @@ add_custom_command( ${CMAKE_CURRENT_LIST_DIR}/kind_template.cpp ${KINDS_FILES} > ${CMAKE_CURRENT_BINARY_DIR}/kind.cpp - DEPENDS mkkind kind_template.cpp kind.h + DEPENDS mkkind kind_template.cpp kind.h ${KINDS_FILES} ) add_custom_command( @@ -97,7 +97,7 @@ add_custom_command( ${CMAKE_CURRENT_LIST_DIR}/type_properties_template.h ${KINDS_FILES} > ${CMAKE_CURRENT_BINARY_DIR}/type_properties.h - DEPENDS mkkind type_properties_template.h + DEPENDS mkkind type_properties_template.h ${KINDS_FILES} ) add_custom_command( @@ -107,7 +107,7 @@ add_custom_command( ${CMAKE_CURRENT_LIST_DIR}/metakind_template.h ${KINDS_FILES} > ${CMAKE_CURRENT_BINARY_DIR}/metakind.h - DEPENDS mkmetakind metakind_template.h + DEPENDS mkmetakind metakind_template.h ${KINDS_FILES} ) add_custom_command( @@ -117,7 +117,7 @@ add_custom_command( ${CMAKE_CURRENT_LIST_DIR}/metakind_template.cpp ${KINDS_FILES} > ${CMAKE_CURRENT_BINARY_DIR}/metakind.cpp - DEPENDS mkmetakind metakind_template.cpp metakind.h + DEPENDS mkmetakind metakind_template.cpp metakind.h ${KINDS_FILES} ) add_custom_command( @@ -127,7 +127,7 @@ add_custom_command( ${CMAKE_CURRENT_LIST_DIR}/expr_template.h ${KINDS_FILES} > ${CMAKE_CURRENT_BINARY_DIR}/expr.h - DEPENDS mkexpr expr_template.h kind.h + DEPENDS mkexpr expr_template.h kind.h ${KINDS_FILES} ) add_custom_command( @@ -137,7 +137,7 @@ add_custom_command( ${CMAKE_CURRENT_LIST_DIR}/expr_template.cpp ${KINDS_FILES} > ${CMAKE_CURRENT_BINARY_DIR}/expr.cpp - DEPENDS mkexpr expr_template.cpp expr.h + DEPENDS mkexpr expr_template.cpp expr.h ${KINDS_FILES} ) add_custom_command( @@ -147,7 +147,7 @@ add_custom_command( ${CMAKE_CURRENT_LIST_DIR}/expr_manager_template.h ${KINDS_FILES} > ${CMAKE_CURRENT_BINARY_DIR}/expr_manager.h - DEPENDS mkexpr expr_manager_template.h expr.h + DEPENDS mkexpr expr_manager_template.h expr.h ${KINDS_FILES} ) add_custom_command( @@ -157,7 +157,7 @@ add_custom_command( ${CMAKE_CURRENT_LIST_DIR}/expr_manager_template.cpp ${KINDS_FILES} > ${CMAKE_CURRENT_BINARY_DIR}/expr_manager.cpp - DEPENDS mkexpr expr_manager_template.cpp expr_manager.h + DEPENDS mkexpr expr_manager_template.cpp expr_manager.h ${KINDS_FILES} ) add_custom_command( @@ -167,7 +167,7 @@ add_custom_command( ${CMAKE_CURRENT_LIST_DIR}/type_checker_template.cpp ${KINDS_FILES} > ${CMAKE_CURRENT_BINARY_DIR}/type_checker.cpp - DEPENDS mkexpr type_checker_template.cpp + DEPENDS mkexpr type_checker_template.cpp ${KINDS_FILES} ) add_custom_target(gen-expr |