forked from simulationcraft/simc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gui.pro
54 lines (42 loc) · 1.44 KB
/
gui.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
include(../simulationcraft.pri)
TEMPLATE = app
TARGET = SimulationCraft
CONFIG += link_prl
QT += network webengine webenginewidgets
DEFINES += SC_USE_WEBENGINE
LIBS += -L../lib -lsimcengine
DESTDIR = ..
MOC_DIR = moc
RCC_DIR = resources
CONFIG(release, debug|release): LIBS += -L../lib/release -lsimcengine
CONFIG(debug, debug|release): LIBS += -L../lib/debug -lsimcengine
CONFIG(to_install) {
DEFINES += SC_TO_INSTALL
}
macx {
ICON = ../qt/icon/Simcraft2.icns
LIBS += -framework CoreFoundation -framework AppKit
QMAKE_INFO_PLIST = ../qt/Simulationcraft.plist
DEFINES += SIMC_NO_AUTOUPDATE
contains(QMAKE_CXX, clang++) {
QMAKE_CXXFLAGS += -Wno-inconsistent-missing-override
}
Resources.files = ../Welcome.html ../Welcome.png ../Error.html
Resources.path = Contents/Resources
Profiles.files = ../profiles/Tier18N ../profiles/Tier18H ../profiles/Tier18M ../profiles/Tier19P ../profiles/Tier19H ../profiles/Tier19M
Profiles.path = Contents/Resources/profiles
Localization.files = ../locale/sc_de.qm ../locale/sc_it.qm ../locale/sc_zh.qm
Localization.path = Contents/Resources/locale
QMAKE_BUNDLE_DATA += Profiles Resources Localization
}
win32 {
QMAKE_PROJECT_NAME = "Simulationcraft GUI"
RC_FILE = ../qt/simcqt.rc
}
RESOURCES = \
qt/simcqt.qrc
TRANSLATIONS = \
locale/sc_de.ts \
locale/sc_zh.ts \
locale/sc_it.ts
include(../source_files/QT_gui.pri)