summaryrefslogtreecommitdiffstats
path: root/old/qtuitest.pro
diff options
context:
space:
mode:
Diffstat (limited to 'old/qtuitest.pro')
-rw-r--r--old/qtuitest.pro35
1 files changed, 35 insertions, 0 deletions
diff --git a/old/qtuitest.pro b/old/qtuitest.pro
new file mode 100644
index 0000000..329911b
--- /dev/null
+++ b/old/qtuitest.pro
@@ -0,0 +1,35 @@
+TEMPLATE=subdirs
+SUBDIRS+=libqtuitest libqtslave plugins qtbindings botan coreplugin libqsystemtest interpreter tests
+CONFIG += ordered
+
+INCLUDEPATH += $$PWD
+INCLUDEPATH += $$PWD/botan/build
+
+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)
+}