1TEMPLATE = app
2
3QT += widgets gui xml opengl multimedia
4
5CONFIG += resources_big
6
7VERSION = 0.2.0.0
8QMAKE_TARGET_COPYRIGHT = (c) 2010-2020 A.Masiuk, A.Korchenko
9QMAKE_TARGET_PRODUCT = Bubble Chains
10QMAKE_TARGET_DESCRIPTION = Free crossplatform 2D arcade-puzzle game
11QMAKE_TARGET_COMPANY =
12
13
14unix: {
15    TARGET = ./bin/chains
16    target.path = $$PREFIX/bin
17    INSTALLS += target
18
19    datas.path = $$DATADIR
20    datas.files = data
21    INSTALLS += datas
22
23    desktop.path = $$PREFIX/share/applications/
24    desktop.files = setup.linux/chains.desktop
25    INSTALLS += desktop
26
27    icon.path = $$PREFIX/share/icons/hicolor/256x256/apps/
28    icon.files = setup.linux/chains.png
29    INSTALLS += icon
30
31    icon2.path = $$PREFIX/share/pixmaps
32    icon2.files = setup.linux/chains.png
33    INSTALLS += icon2
34
35    appdata.path = $$PREFIX/share/appdata/
36    appdata.files = setup.linux/chains.appdata.xml
37    INSTALLS += appdata
38
39    LIBS += -lXrandr -lX11
40    QT += x11extras
41}
42
43win32: {
44    DESTDIR = $$OUT_PWD/bin
45    TARGET = chains
46
47    LIBS += -lUser32
48
49    RC_ICONS = icon.ico
50
51    #RC_FILE = res.rc
52}
53
54SOURCES += main.cpp \
55    gamewidget.cpp \
56    gamescene.cpp \
57    gameitem.cpp \
58    gamepaint.cpp \
59    gamecontrol.cpp \
60    baseitem.cpp \
61    gamemenu.cpp \
62    gametools.cpp \
63    hammertool.cpp \
64    bombtool.cpp \
65    gamesound.cpp \
66    menucontrol.cpp \
67    gameprofile.cpp \
68    thundertool.cpp \
69    clocktool.cpp \
70    gamestock.cpp \
71    randomkilltool.cpp \
72    mixertool.cpp \
73    twintool.cpp \
74    displaywrapper.cpp \
75    gamebonus.cpp \
76    gamestatics.cpp \
77    gamestat.cpp \
78    gamebackground.cpp \
79    consttools.cpp \
80    gamexml.cpp \
81    scaler.cpp \
82    gametargetcontrol.cpp \
83    gametargets.cpp \
84    progressbar.cpp \
85    sceneprivate.cpp \
86    gamepanel.cpp \
87    gamepanelcontrol.cpp \
88    gamedialogs.cpp \
89    gamebutton.cpp \
90    hintcontrol.cpp \
91    gamehintcontrol.cpp \
92    particlecontrol.cpp \
93    helpform.cpp
94
95HEADERS += gamewidget.h \
96    gamescene.h \
97    defines.h \
98    gameitem.h \
99    baseitem.h \
100    gamemenu.h \
101    gametools.h \
102    hammertool.h \
103    bombtool.h \
104    gamesound.h \
105    gameprofile.h \
106    thundertool.h \
107    clocktool.h \
108    gamestock.h \
109    randomkilltool.h \
110    mixertool.h \
111    twintool.h \
112    displaywrapper.h \
113    gamebonus.h \
114    scene_if.h \
115    gamebackground.h \
116    consttools.h \
117    scaler.h \
118    sceneprivate.h \
119    gametargetcontrol.h \
120    gametargets.h \
121    progressbar.h \
122    gamepanel.h \
123    gamepanelcontrol.h \
124    gamedialogs.h \
125    gamebutton.h \
126    hintcontrol.h \
127    gamehintcontrol.h \
128    particlecontrol.h \
129    helpform.h
130
131RESOURCES += resources.qrc
132
133FORMS += menu.ui \
134    helpform.ui
135
136TRANSLATIONS += ./data/lang/chains_ru.ts
137
138OTHER_FILES += style/style.css
139
140