forked from simulationcraft/simc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cli.pro
43 lines (32 loc) · 947 Bytes
/
cli.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
include(../simulationcraft.pri)
TEMPLATE = app
TARGET = simc
CONFIG -= qt app_bundle link_prl
LIBS += -L../lib
QT -= core gui
# Linux puts binaries to a different place (see simulationcraft.pri)
win32|macx {
DESTDIR = ..
}
CONFIG(release, debug|release): LIBS += -L../lib/release -lsimcengine
CONFIG(debug, debug|release): LIBS += -L../lib/debug -lsimcengine
win32 {
CONFIG += console
QMAKE_PROJECT_NAME = "Simulationcraft CLI"
}
unix {
LIBS += -lpthread
}
# Deployment for Linux
unix:!macx {
DISTFILES += CHANGES COPYING
INSTALLS += target Profiles
# Disable strip
QMAKE_STRIP = echo
target.path = $$DESTDIR$$PREFIX/bin/
Profiles.files = $$files(../profiles/*, recursive=true)
Profiles.path = $$SHAREPATH/profiles
Profiles.commands = @echo Installing profiles to $$SHAREPATH/profiles
}
include(../source_files/QT_engine_main.pri)
SOURCES = $$replace(SOURCES, engine/, ../engine/)