mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
Add dependency to gentable.py
With this commit, a change to gentable.py will trigger the regeneration of cpp code for each table.
This commit is contained in:
parent
7029c72e5a
commit
b18dcaa7cb
@ -141,7 +141,7 @@ foreach(TABLE_FILE ${TABLE_FILES})
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${TABLE_FILE_GEN}
|
||||
COMMAND python ${CMAKE_SOURCE_DIR}/tools/gentable.py ${TABLE_FILE} ${TABLE_FILE_GEN}
|
||||
DEPENDS ${TABLE_FILE}
|
||||
DEPENDS ${TABLE_FILE} ${CMAKE_SOURCE_DIR}/tools/gentable.py
|
||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
)
|
||||
list(APPEND GENERATED_TABLES ${TABLE_FILE_GEN})
|
||||
|
Loading…
Reference in New Issue
Block a user