author | unc0rr |
Tue, 25 Jul 2006 13:32:11 +0000 | |
changeset 85 | 44d9045b26ff |
parent 84 | 0f6669da2fcb |
child 86 | 664b536a1c27 |
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 |
44d9045b26ff
New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents:
84
diff
changeset
|
35 |
gamecfgwidget.h) |
73 | 36 |
|
37 |
||
38 |
set(hwfr_rez |
|
39 |
hedgewars.qrc) |
|
40 |
||
41 |
qt4_add_resources(hwfr_rez_src |
|
42 |
${hwfr_rez}) |
|
43 |
||
44 |
qt4_wrap_cpp(hwfr_moc_srcs |
|
45 |
${hwfr_moc_hdrs}) |
|
46 |
||
47 |
add_executable(hedgewars WIN32 |
|
48 |
${hwfr_src} |
|
49 |
${hwfr_moc_srcs} |
|
50 |
${hwfr_rez_src}) |
|
51 |
||
52 |
target_link_libraries(hedgewars |
|
53 |
${QT_QTCORE_LIBRARY} |
|
54 |
${QT_QTGUI_LIBRARY} |
|
55 |
${QT_QTNETWORK_LIBRARY} |
|
56 |
${QT_QTMAIN_LIBRARY}) |
|
57 |
||
58 |
install_targets(/bin hedgewars) |