QTfrontend/CMakeLists.txt
changeset 1574 2ff75b2abff0
parent 1573 cf88e0ace609
child 1621 d1ded2532d3f
equal deleted inserted replaced
1573:cf88e0ace609 1574:2ff75b2abff0
    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)