author | unc0rr |
Wed, 26 Jul 2006 12:25:48 +0000 | |
changeset 87 | ff213e443336 |
parent 86 | 664b536a1c27 |
child 89 | f9db56409a86 |
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 |
44d9045b26ff
New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents:
84
diff
changeset
|
19 |
gamecfgwidget.cpp) |
73 | 20 |
|
21 |
if (WIN32) |
|
22 |
set(hwfr_src ${hwfr_src} res/hedgewars.rc) |
|
23 |
endif (WIN32) |
|
24 |
||
25 |
set(hwfr_moc_hdrs |
|
26 |
game.h |
|
27 |
hwform.h |
|
28 |
netclient.h |
|
29 |
teamselect.h |
|
30 |
teamselhelper.h |
|
31 |
frameTeam.h |
|
84 | 32 |
vertScrollArea.h |
85
44d9045b26ff
New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents:
84
diff
changeset
|
33 |
gameuiconfig.h |
44d9045b26ff
New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents:
84
diff
changeset
|
34 |
ui_hwform.h |
86
664b536a1c27
Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
85
diff
changeset
|
35 |
gamecfgwidget.h |
664b536a1c27
Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
85
diff
changeset
|
36 |
predefteams.h) |
73 | 37 |
|
38 |
||
39 |
set(hwfr_rez |
|
40 |
hedgewars.qrc) |
|
41 |
||
42 |
qt4_add_resources(hwfr_rez_src |
|
43 |
${hwfr_rez}) |
|
44 |
||
45 |
qt4_wrap_cpp(hwfr_moc_srcs |
|
46 |
${hwfr_moc_hdrs}) |
|
47 |
||
48 |
add_executable(hedgewars WIN32 |
|
49 |
${hwfr_src} |
|
50 |
${hwfr_moc_srcs} |
|
51 |
${hwfr_rez_src}) |
|
52 |
||
53 |
target_link_libraries(hedgewars |
|
54 |
${QT_QTCORE_LIBRARY} |
|
55 |
${QT_QTGUI_LIBRARY} |
|
56 |
${QT_QTNETWORK_LIBRARY} |
|
57 |
${QT_QTMAIN_LIBRARY}) |
|
58 |
||
59 |
install_targets(/bin hedgewars) |