-
Notifications
You must be signed in to change notification settings - Fork 147
/
o2.pro
51 lines (36 loc) · 1.17 KB
/
o2.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
# Install prefix
mac: PREFIX=/Users/hans/devel/libraries/osx
win32: PREFIX=c:/devel/libraries/win64
linux: PREFIX=/home/hans/devel/libraries/linux64
QT -= gui
TEMPLATE = lib
DEFINES += O2_SHARED_LIB
DEFINES += O2_DLL_EXPORT
CONFIG += c++11
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
greaterThan(QT_VERSION, 6.2) {
macx: {
message("Building universal library on macOS")
QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64
}
}
PREFIX=$$PREFIX
SRC_PREFIX=$$SRC_PREFIX
LIB_TARGET=lib
CONFIG(debug, release|debug) {
LIB_TARGET=libd
}
target.path = $$PREFIX/$$LIB_TARGET
INSTALLS += target
SOURCES +=
HEADERS +=
#### Headers to install
headers.path = $$PREFIX/include/o2
include(src/src.pri)