-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommon.pri
36 lines (29 loc) · 881 Bytes
/
common.pri
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
CONFIG -= qt
CONFIG -= app_bundle
CONFIG += console
CONFIG += exceptions
CONFIG += c++11
SYSTEMC_PATH =
isEmpty(SYSTEMC_PATH) {
error("SYSTEMC_PATH not defined. Please fix it (file: common.pri)")
}
INCLUDEPATH = $${SYSTEMC_PATH}/include
win32 {
LIBS += $${SYSTEMC_PATH}/lib-mingw/libsystemc.a
}
unix {
contains(QMAKE_HOST.arch, x86_64) {
# 64-bit Unix
mac {
LIBS = -L$${SYSTEMC_PATH}/lib-macosx64 -lsystemc -Xlinker -rpath -Xlinker $${SYSTEMC_PATH}/lib-macosx64
} else {
LIBS = -L$${SYSTEMC_PATH}/lib-linux64 -lsystemc -Xlinker -rpath -Xlinker $${SYSTEMC_PATH}/lib-linux64
}
} else {
# 32-bit Unix not OS X
LIBS = -L$${SYSTEMC_PATH}/lib-linux -lsystemc -Xlinker -rpath -Xlinker $${SYSTEMC_PATH}/lib-linux
}
}
OBJECTS_DIR = ../objs
CONFIG -= debug_and_release
DEFINES -= QT_QML_DEBUG