forked from b-com-software-basis/builddefs-qmake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bcom_installpath_define.pri
21 lines (17 loc) · 1015 Bytes
/
bcom_installpath_define.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Author(s) : Loic Touraine, Stephane Leduc
# Detect build toolchain, define BCOM_TARGET_ARCH and BCOM_TARGET_PLATFORM
include(bcom_arch_define.pri)
# Check input parameters existence
!defined(FRAMEWORK,var) {
error("FRAMEWORK must be defined before templatelibconfig.pri inclusion. A typical definition is FRAMEWORK = \$\$TARGET.")
}
!defined(INSTALLSUBDIR,var) {
message("INSTALLSUBDIR can be defined before templatelibconfig.pri inclusion. INSTALLSUBDIR is optional. Values can be : build (own build), thirdParties... A typical definition is INSTALLSUBDIR = build.")
}
!defined(PROJECTDEPLOYDIR,var) {
PROJECTDEPLOYDIR = $${REMAKENDEPSFOLDER}/$${BCOM_TARGET_PLATFORM}/$${FRAMEWORK}/$${VERSION}
defined(INSTALLSUBDIR,var) {
PROJECTDEPLOYDIR = $${REMAKENDEPSFOLDER}/$${BCOM_TARGET_PLATFORM}/$${INSTALLSUBDIR}/$${FRAMEWORK}/$${VERSION}
}
warning("PROJECTDEPLOYDIR may be defined before templatelibconfig.pri inclusion => Defaulting PROJECTDEPLOYDIR to $${PROJECTDEPLOYDIR}. ")
}