equal
deleted
inserted
replaced
68 binds.cpp |
68 binds.cpp |
69 SDLs.cpp |
69 SDLs.cpp |
70 playrecordpage.cpp |
70 playrecordpage.cpp |
71 ${CMAKE_CURRENT_BINARY_DIR}/hwconsts.cpp |
71 ${CMAKE_CURRENT_BINARY_DIR}/hwconsts.cpp |
72 selectWeapon.cpp |
72 selectWeapon.cpp |
73 itemNum.cpp |
73 itemNum.cpp |
74 input_ip.cpp |
74 input_ip.cpp |
75 weaponItem.cpp) |
75 weaponItem.cpp) |
76 |
76 |
77 if (WIN32) |
77 if(MINGW) |
|
78 # resource compilation for mingw |
|
79 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o |
|
80 COMMAND windres -I ${CMAKE_CURRENT_SOURCE_DIR} |
|
81 -i ${CMAKE_CURRENT_SOURCE_DIR}/res/hedgewars.rc |
|
82 -o ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o) |
|
83 set(hwfr_src ${hwfr_src} ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o) |
|
84 else(MINGW) |
78 set(hwfr_src ${hwfr_src} res/hedgewars.rc) |
85 set(hwfr_src ${hwfr_src} res/hedgewars.rc) |
79 endif (WIN32) |
86 endif(MINGW) |
80 |
87 |
81 set(hwfr_moc_hdrs |
88 set(hwfr_moc_hdrs |
82 game.h |
89 game.h |
83 hwform.h |
90 hwform.h |
84 teamselect.h |
91 teamselect.h |
107 netserverslist.h |
114 netserverslist.h |
108 chatwidget.h |
115 chatwidget.h |
109 SDLs.h |
116 SDLs.h |
110 playrecordpage.h |
117 playrecordpage.h |
111 selectWeapon.h |
118 selectWeapon.h |
112 itemNum.h |
119 itemNum.h |
113 input_ip.h |
120 input_ip.h |
114 weaponItem.h) |
121 weaponItem.h) |
115 |
122 |
116 set(hwfr_hdrs |
123 set(hwfr_hdrs |
117 binds.h |
124 binds.h |