project_files/hwc/CMakeLists.txt
branchwebgl
changeset 9250 460b64e9b75c
parent 9201 bcf2f7798ebb
child 9252 8749053e8109
equal deleted inserted replaced
9248:3e8558dc285a 9250:460b64e9b75c
    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