author | unc0rr |
Thu, 27 Jul 2006 15:24:14 +0000 | |
changeset 89 | f9db56409a86 |
parent 86 | 664b536a1c27 |
child 93 | c21ff3af56cf |
permissions | -rw-r--r-- |
73 | 1 |
find_package(Qt4 REQUIRED) |
2 |
||
3 |
include_directories(${QT_INCLUDES} .) |
|
4 |
||
5 |
set(hwfr_src |
|
6 |
game.cpp |
|
7 |
main.cpp |
|
8 |
hwform.cpp |
|
9 |
team.cpp |
|
10 |
rndstr.cpp |
|
11 |
sha1.cpp |
|
12 |
netclient.cpp |
|
13 |
teamselect.cpp |
|
14 |
teamselhelper.cpp |
|
15 |
frameTeam.cpp |
|
84 | 16 |
vertScrollArea.cpp |
85
44d9045b26ff
New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents:
84
diff
changeset
|
17 |
gameuiconfig.cpp |
44d9045b26ff
New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents:
84
diff
changeset
|
18 |
ui_hwform.cpp |
89 | 19 |
gamecfgwidget.cpp |
20 |
pages.cpp) |
|
73 | 21 |
|
22 |
if (WIN32) |
|
23 |
set(hwfr_src ${hwfr_src} res/hedgewars.rc) |
|
24 |
endif (WIN32) |
|
25 |
||
26 |
set(hwfr_moc_hdrs |
|
27 |
game.h |
|
28 |
hwform.h |
|
29 |
netclient.h |
|
30 |
teamselect.h |
|
31 |
teamselhelper.h |
|
32 |
frameTeam.h |
|
84 | 33 |
vertScrollArea.h |
85
44d9045b26ff
New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents:
84
diff
changeset
|
34 |
gameuiconfig.h |
44d9045b26ff
New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents:
84
diff
changeset
|
35 |
ui_hwform.h |
86
664b536a1c27
Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
85
diff
changeset
|
36 |
gamecfgwidget.h |
89 | 37 |
predefteams.h |
38 |
pages.h) |
|
73 | 39 |
|
40 |
||
41 |
set(hwfr_rez |
|
42 |
hedgewars.qrc) |
|
43 |
||
44 |
qt4_add_resources(hwfr_rez_src |
|
45 |
${hwfr_rez}) |
|
46 |
||
47 |
qt4_wrap_cpp(hwfr_moc_srcs |
|
48 |
${hwfr_moc_hdrs}) |
|
49 |
||
50 |
add_executable(hedgewars WIN32 |
|
51 |
${hwfr_src} |
|
52 |
${hwfr_moc_srcs} |
|
53 |
${hwfr_rez_src}) |
|
54 |
||
55 |
target_link_libraries(hedgewars |
|
56 |
${QT_QTCORE_LIBRARY} |
|
57 |
${QT_QTGUI_LIBRARY} |
|
58 |
${QT_QTNETWORK_LIBRARY} |
|
59 |
${QT_QTMAIN_LIBRARY}) |
|
60 |
||
89 | 61 |
install(PROGRAMS "hedgewars${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION bin) |