blob: 094590cc0e91fc7a9657ce8859e186aef4f55e90 (
plain)
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
|
TEMPLATE=subdirs
CONFIG += ordered
INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/botan/build
SUBDIRS += botan
include(qtuitest-for-creator.pro)
system(echo QMAKEFEATURES+=$$PWD/features >> $$OUT_PWD/.qmake.cache)
unix:!mac:!symbian {
system(if ! [ -e $$OUT_PWD/features ]; then ln -sf $$PWD/features $$OUT_PWD/features; fi)
system(echo SRCROOT=$(readlink -f $$PWD) >> $$OUT_PWD/.qmake.cache)
system(echo BUILDROOT=$(readlink -f $$OUT_PWD) >> $$OUT_PWD/.qmake.cache)
}
mac {
system(if ! [ -e $$OUT_PWD/features ]; then ln -sf $$PWD/features $$OUT_PWD/features; fi)
system(echo SRCROOT='$$PWD' >> $$OUT_PWD/.qmake.cache)
system(echo BUILDROOT='$$OUT_PWD' >> $$OUT_PWD/.qmake.cache)
}
symbian {
SUBDIRS-=qtbindings libqsystemtest interpreter
system(echo SRCROOT=$$PWD >> $$OUT_PWD/.qmake.cache)
system(echo BUILDROOT=$$OUT_PWD >> $$OUT_PWD/.qmake.cache)
}
win32 {
WIN_PWD=$$replace(PWD,/,\)
WIN_OUT_PWD=$$replace(OUT_PWD,/,\)
system(xcopy $$WIN_PWD\features $$WIN_OUT_PWD\features /E /I /D /Y)
system(echo SRCROOT=$$PWD >> $$OUT_PWD/.qmake.cache)
system(echo BUILDROOT=$$OUT_PWD >> $$OUT_PWD/.qmake.cache)
system(echo INSTALLROOT=$$OUT_PWD/bin >> $$OUT_PWD/.qmake.cache)
}
|