From b18dcaa7cb6b23b534e91e3690587c533b9d223b Mon Sep 17 00:00:00 2001 From: Vincent Mauge Date: Sun, 2 Nov 2014 17:00:47 -0800 Subject: [PATCH] Add dependency to gentable.py With this commit, a change to gentable.py will trigger the regeneration of cpp code for each table. --- osquery/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osquery/CMakeLists.txt b/osquery/CMakeLists.txt index fe20c76c..50cc7b15 100644 --- a/osquery/CMakeLists.txt +++ b/osquery/CMakeLists.txt @@ -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})