QTfrontend/CMakeLists.txt
changeset 1039 27187008b12f
parent 880 f9efe907828f
child 1041 362b95d49cf4
equal deleted inserted replaced
1038:3c843ce630ea 1039:27187008b12f
    76 
    76 
    77 if(MINGW)
    77 if(MINGW)
    78 	# resource compilation for mingw
    78 	# resource compilation for mingw
    79 	add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o
    79 	add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o
    80 	COMMAND windres -I ${CMAKE_CURRENT_SOURCE_DIR}
    80 	COMMAND windres -I ${CMAKE_CURRENT_SOURCE_DIR}
    81 	-i ${CMAKE_CURRENT_SOURCE_DIR}/res/hedgewars.rc
    81 	-i ${CMAKE_CURRENT_SOURCE_DIR}/hedgewars.rc
    82 	-o ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o)
    82 	-o ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o)
    83 	set(hwfr_src ${hwfr_src} ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o)
    83 	set(hwfr_src ${hwfr_src} ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o)
    84 else(MINGW)
    84 else(MINGW)
    85 	set(hwfr_src ${hwfr_src} res/hedgewars.rc)
    85 	set(hwfr_src ${hwfr_src} res/hedgewars.rc)
    86 endif(MINGW)
    86 endif(MINGW)