hedgewars/CMakeLists.txt
changeset 89 f9db56409a86
parent 75 d2b737858ff7
child 95 1ef5e2c41115
equal deleted inserted replaced
88:6740a1c4edc9 89:f9db56409a86
    37 
    37 
    38 if (NOT pascal_compiler)
    38 if (NOT pascal_compiler)
    39 	message(FATAL_ERROR "No Pascal compiler found!")
    39 	message(FATAL_ERROR "No Pascal compiler found!")
    40 endif (NOT pascal_compiler)
    40 endif (NOT pascal_compiler)
    41 
    41 
    42 add_custom_target(hwengine ALL
    42 add_custom_command(COMMAND ${pascal_compiler} TARGET hwengine OUTPUTS hwengine ARGS ${pascal_compiler_flags})
    43 	${pascal_compiler} ${pascal_compiler_flags})
       
    44 
    43 
    45 install_targets(/bin hwengine)
    44 install(PROGRAMS "hwengine${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION bin)