forked from b-com-software-basis/builddefs-qmake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bcom_manifest.prf
executable file
·35 lines (27 loc) · 926 Bytes
/
bcom_manifest.prf
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
# Author(s) : Loic Touraine, Stephane Leduc
include(bcom_installpath_define.pri)
REMAKEN_TARGET_INFO=$${TARGET}-$${VERSION}_$${REMAKEN_INFO_SUFFIX}
PLATFORMFLAG="platform=$${BCOM_TARGET_PLATFORM}"
write_file($${OUT_PWD}/$${REMAKEN_TARGET_INFO}, PLATFORMFLAG)
contains(CONFIG,c++11) {
CPPSTDFLAG="cppstd=11"
}
contains(CONFIG,c++14) {
CPPSTDFLAG="cppstd=14"
}
contains(CONFIG,c++1z)|contains(CONFIG,c++17) {
CPPSTDFLAG="cppstd=17"
}
write_file($${OUT_PWD}/$${REMAKEN_TARGET_INFO}, CPPSTDFLAG, append)
win32 {
usestaticwinrt {
WINRTFLAG="runtime=staticCRT"
} else {
WINRTFLAG="runtime=dynamicCRT"
}
write_file($${OUT_PWD}/$${REMAKEN_TARGET_INFO}, WINRTFLAG, append)
}
QMAKE_DISTCLEAN += $${OUT_PWD}/$${REMAKEN_TARGET_INFO}
install_remakeninfo.path = $${PROJECTDEPLOYDIR}
install_remakeninfo.files = $$files($${OUT_PWD}/$${REMAKEN_TARGET_INFO})
INSTALLS += install_remakeninfo