equal
deleted
inserted
replaced
79 weaponItem.cpp) |
79 weaponItem.cpp) |
80 |
80 |
81 if(MINGW) |
81 if(MINGW) |
82 # resource compilation for mingw |
82 # resource compilation for mingw |
83 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o |
83 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o |
84 COMMAND windres -I ${CMAKE_CURRENT_SOURCE_DIR} |
84 COMMAND ${WINDRES} -I ${CMAKE_CURRENT_SOURCE_DIR} |
85 -i ${CMAKE_CURRENT_SOURCE_DIR}/hedgewars.rc |
85 -i ${CMAKE_CURRENT_SOURCE_DIR}/hedgewars.rc |
86 -o ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o) |
86 -o ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o) |
87 set(hwfr_src ${hwfr_src} ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o) |
87 set(hwfr_src ${hwfr_src} ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o) |
88 else(MINGW) |
88 else(MINGW) |
89 set(hwfr_src ${hwfr_src} hedgewars.rc) |
89 set(hwfr_src ${hwfr_src} hedgewars.rc) |