-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathqimsysimports.pri
37 lines (27 loc) · 1008 Bytes
/
qimsysimports.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
37
isEmpty(QIMSYSIMPORTS_PRI) {
QIMSYSIMPORTS_PRI = 1
include(./qimsys.pri)
include(./src/libs/libs.pri)
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
TEMPLATE = lib
CONFIG += plugin
QT += declarative
TARGET = $$qtLibraryTarget($$TARGET)
DESTDIR = $$QIMSYS_BUILD_TREE/$$QIMSYS_TARGET_PATH/$$QIMSYS_IMPORTS_PATH/$$TARGETPATH
isEmpty(target.path) {
target.path = $$PREFIX/$$QIMSYS_TARGET_PATH/$$QIMSYS_IMPORTS_PATH/$$TARGETPATH
}
INSTALLS += target
QMAKE_RPATHDIR += \$\$ORIGIN/../../../../
include(./qimsysrpath.pri)
qmldir.files += $$_PRO_FILE_PWD_/qmldir
qmldir.path = $$target.path
INSTALLS += qmldir
!equals(_PRO_FILE_PWD_, $$DESTDIR) {
copy_qmldir.target = $${DESTDIR}/qmldir
copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
copy_qmldir.commands = $(COPY) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
QMAKE_EXTRA_TARGETS += copy_qmldir
PRE_TARGETDEPS += $$copy_qmldir.target
}
} # QIMSYSIMPORTS_PRI