equal
deleted
inserted
replaced
2 set(QT_MIN_VERSION "4.5.0") |
2 set(QT_MIN_VERSION "4.5.0") |
3 |
3 |
4 set(QT_USE_QTCORE TRUE) |
4 set(QT_USE_QTCORE TRUE) |
5 set(QT_USE_QTGUI TRUE) |
5 set(QT_USE_QTGUI TRUE) |
6 set(QT_USE_QTNETWORK TRUE) |
6 set(QT_USE_QTNETWORK TRUE) |
|
7 set(QT_USE_QTWEBKIT TRUE) |
7 set(QT_USE_QTSVG FALSE) |
8 set(QT_USE_QTSVG FALSE) |
8 set(QT_USE_QTXML FALSE) |
9 set(QT_USE_QTXML FALSE) |
9 set(QT_USE_QTOPENGL FALSE) |
10 set(QT_USE_QTOPENGL FALSE) |
10 set(QT_USE_QTMAIN TRUE) |
11 set(QT_USE_QTMAIN TRUE) |
11 |
12 |
44 |
45 |
45 |
46 |
46 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/hwconsts.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/hwconsts.cpp) |
47 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/hwconsts.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/hwconsts.cpp) |
47 |
48 |
48 set(hwfr_src |
49 set(hwfr_src |
|
50 HWApplication.cpp |
49 game.cpp |
51 game.cpp |
50 main.cpp |
52 main.cpp |
51 hwform.cpp |
53 hwform.cpp |
52 team.cpp |
54 team.cpp |
53 namegen.cpp |
55 namegen.cpp |
64 pageoptions.cpp |
66 pageoptions.cpp |
65 pagenet.cpp |
67 pagenet.cpp |
66 pagenetserver.cpp |
68 pagenetserver.cpp |
67 pagenetgame.cpp |
69 pagenetgame.cpp |
68 pageinfo.cpp |
70 pageinfo.cpp |
|
71 pagedata.cpp |
69 pagesingleplayer.cpp |
72 pagesingleplayer.cpp |
70 pagetraining.cpp |
73 pagetraining.cpp |
71 pagecampaign.cpp |
74 pagecampaign.cpp |
72 pageselectweapon.cpp |
75 pageselectweapon.cpp |
73 pageingame.cpp |
76 pageingame.cpp |
109 bgwidget.cpp |
112 bgwidget.cpp |
110 achievements.cpp |
113 achievements.cpp |
111 qaspectratiolayout.cpp |
114 qaspectratiolayout.cpp |
112 drawmapwidget.cpp |
115 drawmapwidget.cpp |
113 drawmapscene.cpp |
116 drawmapscene.cpp |
|
117 themesmodel.cpp |
114 ) |
118 ) |
115 |
119 |
116 #xfire integration |
120 #xfire integration |
117 if(WIN32) |
121 if(WIN32) |
118 set(hwfr_src ${hwfr_src} xfire.cpp ../misc/xfire/xfiregameclient.cpp) |
122 set(hwfr_src ${hwfr_src} xfire.cpp ../misc/xfire/xfiregameclient.cpp) |
128 else(MINGW) |
132 else(MINGW) |
129 set(hwfr_src ${hwfr_src} hedgewars.rc) |
133 set(hwfr_src ${hwfr_src} hedgewars.rc) |
130 endif(MINGW) |
134 endif(MINGW) |
131 |
135 |
132 set(hwfr_moc_hdrs |
136 set(hwfr_moc_hdrs |
|
137 HWApplication.h |
133 game.h |
138 game.h |
134 hats.h |
139 hats.h |
135 hwform.h |
140 hwform.h |
136 teamselect.h |
141 teamselect.h |
137 teamselhelper.h |
142 teamselhelper.h |
147 pagetraining.h |
152 pagetraining.h |
148 pageeditteam.h |
153 pageeditteam.h |
149 pageoptions.h |
154 pageoptions.h |
150 pagemain.h |
155 pagemain.h |
151 pageinfo.h |
156 pageinfo.h |
|
157 pagedata.h |
152 pagesingleplayer.h |
158 pagesingleplayer.h |
153 pagenettype.h |
159 pagenettype.h |
154 pageconnecting.h |
160 pageconnecting.h |
155 pagedrawmap.h |
161 pagedrawmap.h |
156 pagecampaign.h |
162 pagecampaign.h |
188 togglebutton.h |
194 togglebutton.h |
189 bgwidget.h |
195 bgwidget.h |
190 qaspectratiolayout.h |
196 qaspectratiolayout.h |
191 drawmapwidget.h |
197 drawmapwidget.h |
192 drawmapscene.h |
198 drawmapscene.h |
|
199 themesmodel.h |
193 ) |
200 ) |
194 |
201 |
195 set(hwfr_hdrs |
202 set(hwfr_hdrs |
196 binds.h |
203 binds.h |
197 ui_hwform.h |
204 ui_hwform.h |