hedgewars/CMakeLists.txt
changeset 5876 7d52d7174619
parent 5867 a04f25c4209f
child 5963 c24fdd9a0458
equal deleted inserted replaced
5875:b3e23cb69ab4 5876:7d52d7174619
   181         )
   181         )
   182 ENDIF()
   182 ENDIF()
   183 
   183 
   184 
   184 
   185 add_custom_target(${engine_output_name} ALL DEPENDS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}")
   185 add_custom_target(${engine_output_name} ALL DEPENDS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}")
   186 add_custom_target(ENGINECLEAN COMMAND ${CMAKE_BUILD_TOOL} "clean" WORKING_DIRECTORY "${hedgewars_SOURCE_DIR}/hedgewars")
   186 add_custom_target(ENGINECLEAN COMMAND ${CMAKE_BUILD_TOOL} "clean" "${PROJECT_BINARY_DIR}" "${hedgewars_SOURCE_DIR}/hedgewars")
   187 add_dependencies(${engine_output_name} ENGINECLEAN)
   187 add_dependencies(${engine_output_name} ENGINECLEAN)
   188 
   188 
   189 install(PROGRAMS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION ${target_dir})
   189 install(PROGRAMS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION ${target_dir})
   190 
   190