QTfrontend/CMakeLists.txt
changeset 1573 cf88e0ace609
parent 1415 6fbfee0e113a
child 1574 2ff75b2abff0
equal deleted inserted replaced
1572:e1b40c3560bb 1573:cf88e0ace609
    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)