# HG changeset patch # User koda # Date 1371575975 -7200 # Node ID 460b64e9b75c48eea2cba6b2f55fe73e9dbe3da7 # Parent 3e8558dc285a39a77bfba2d7422be49250d2cbbd set pascal files as dependency of the target writing the c files so that it will run again if you modify them diff -r 3e8558dc285a -r 460b64e9b75c project_files/hwc/CMakeLists.txt --- a/project_files/hwc/CMakeLists.txt Tue Jun 18 18:39:12 2013 +0200 +++ b/project_files/hwc/CMakeLists.txt Tue Jun 18 19:19:35 2013 +0200 @@ -37,7 +37,7 @@ -i "${CMAKE_SOURCE_DIR}/hedgewars" -o "${CMAKE_CURRENT_BINARY_DIR}" -a "${CMAKE_CURRENT_BINARY_DIR}" - DEPENDS pas2c + DEPENDS pas2c ${engine_sources_pas} ) add_custom_target(engine_c DEPENDS ${engine_sources})