equal
deleted
inserted
replaced
35 COMMAND "${EXECUTABLE_OUTPUT_PATH}/pas2c${CMAKE_EXECUTABLE_SUFFIX}" |
35 COMMAND "${EXECUTABLE_OUTPUT_PATH}/pas2c${CMAKE_EXECUTABLE_SUFFIX}" |
36 ARGS -n "hwengine" |
36 ARGS -n "hwengine" |
37 -i "${CMAKE_SOURCE_DIR}/hedgewars" |
37 -i "${CMAKE_SOURCE_DIR}/hedgewars" |
38 -o "${CMAKE_CURRENT_BINARY_DIR}" |
38 -o "${CMAKE_CURRENT_BINARY_DIR}" |
39 -a "${CMAKE_CURRENT_BINARY_DIR}" |
39 -a "${CMAKE_CURRENT_BINARY_DIR}" |
40 DEPENDS pas2c |
40 DEPENDS pas2c ${engine_sources_pas} |
41 ) |
41 ) |
42 add_custom_target(engine_c DEPENDS ${engine_sources}) |
42 add_custom_target(engine_c DEPENDS ${engine_sources}) |
43 |
43 |
44 |
44 |
45 #compile the c files |
45 #compile the c files |