This repository was archived by the owner on Jul 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSolARModuleHapPLY.pro
More file actions
90 lines (66 loc) · 2.12 KB
/
SolARModuleHapPLY.pro
File metadata and controls
90 lines (66 loc) · 2.12 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
QT -= core gui
CONFIG -= app_bundle qt
QMAKE_PROJECT_DEPTH = 0
TARGET = SolARModuleHapPLY
FRAMEWORK = $${TARGET}
INSTALLSUBDIR = SolARBuild
VERSION=1.0.0
DEFINES += $${TARGET}VERSION=\"$${VERSION}\"
# Uncomment following line to add more verbose information from builddefs-qmake rules
# CONFIG += verbose
# Uncomment following line to prepare remaken package
# CONFIG += package_remaken
CONFIG += with_qtvs
with_qtvs {
PROJECTCONFIG = QTVS
}
CONFIG += c++1z
CONFIG += shared
staticlib {
DEPENDENCIESCONFIG = staticlib
REMAKEN_PKGSUBDIR=static
} else {
DEPENDENCIESCONFIG = sharedlib
REMAKEN_PKGSUBDIR=shared
}
CONFIG(debug,debug|release) {
DEFINES += _DEBUG=1
DEFINES += DEBUG=1
REMAKEN_PKGSUBDIR=$${REMAKEN_PKGSUBDIR}/debug
}
CONFIG(release,debug|release) {
DEFINES += NDEBUG=1
REMAKEN_PKGSUBDIR=$${REMAKEN_PKGSUBDIR}/release
}
package_remaken {
message("Preparing remaken package installation in $${REMAKEN_PKGSUBDIR}")
INSTALLSUBDIR=$${REMAKEN_PKGSUBDIR}
}
include(findremakenrules.pri)
DEPENDENCIESCONFIG = sharedlib
DEPENDENCIESCONFIG += install_recurse
## Configuration for Visual Studio to install binaries and dependencies. Work also for QT Creator by replacing QMAKE_INSTALL
PROJECTCONFIG = QTVS
#NOTE : CONFIG as staticlib or sharedlib, DEPENDENCIESCONFIG as staticlib or sharedlib and PROJECTDEPLOYDIR MUST BE DEFINED BEFORE templatelibbundle.pri inclusion
include ($${QMAKE_REMAKEN_RULES_ROOT}/templatelibconfig.pri)
DEFINES += BOOST_ALL_NO_LIB
DEFINES += BOOST_ALL_DYN_LINK
INCLUDEPATH += interfaces
include (SolARModuleHapPLY.pri)
unix {
# Avoids adding install steps manually. To be commented to have a better control over them.
QMAKE_POST_LINK += "make install install_deps"
}
win32 {
DEFINES += _X86_VC12_TARGET_
DEFINES += MBCS _MBCS
}
header_files.path = $${PROJECTDEPLOYDIR}/interfaces/
header_files.files = $$files($${PWD}/I*.h)
INSTALLS += header_files
DISTFILES += Makefile
OTHER_FILES += packagedependencies.txt
with_qtvs {
#NOTE : Must be placed at the end of the .pro
include ($${QMAKE_REMAKEN_RULES_ROOT}/remaken_install_target.pri)
}