automate setting IDE_BUILD_TREE

This commit is contained in:
Oswald Buddenhagen
2009-05-06 16:02:06 +02:00
parent 905f3d6c30
commit 97ffee6bdd
9 changed files with 6 additions and 19 deletions
-2
View File
@@ -1,5 +1,3 @@
IDE_BUILD_TREE = $$OUT_PWD/..
include(../qtcreator.pri)
TEMPLATE = app
+5 -6
View File
@@ -1,5 +1,3 @@
IDE_SOURCE_TREE = $$PWD
defineReplace(cleanPath) {
win32:1 ~= s|\\\\|/|g
contains(1, ^/.*):pfx = /
@@ -35,10 +33,11 @@ equals(TEST, 1) {
DEFINES += WITH_TESTS
}
isEmpty(IDE_BUILD_TREE) {
error("qtcreator.pri: including file must define IDE_BUILD_TREE (probably a relative path)")
}
IDE_BUILD_TREE = $$cleanPath($$IDE_BUILD_TREE)
IDE_SOURCE_TREE = $$PWD
sub_dir = $$_PRO_FILE_PWD_
sub_dir ~= s,^$$re_escape($$PWD),,
IDE_BUILD_TREE = $$cleanPath($$OUT_PWD)
IDE_BUILD_TREE ~= s,$$re_escape($$sub_dir)$,,
macx {
IDE_APP_TARGET = QtCreator
IDE_LIBRARY_PATH = $$IDE_BUILD_TREE/bin/$${IDE_APP_TARGET}.app/Contents/PlugIns
-2
View File
@@ -1,5 +1,3 @@
IDE_BUILD_TREE = $$OUT_PWD/../..
include(../../qtcreator.pri)
win32:i_flag = i
@@ -1,4 +1,3 @@
IDE_BUILD_TREE = $$OUT_PWD/../../..
include(../../../qtcreator.pri)
TRANSLATIONS = de ja
-2
View File
@@ -1,5 +1,3 @@
IDE_BUILD_TREE = $$OUT_PWD/../..
include(../../qtcreator.pri)
include(../shared/qtsingleapplication/qtsingleapplication.pri)
-1
View File
@@ -1,4 +1,3 @@
IDE_BUILD_TREE = $$OUT_PWD/../../..
include(../../../qtcreator.pri)
TEMPLATE = app
+1 -1
View File
@@ -1,9 +1,9 @@
include(../../qworkbenchlibrary.pri)
TEMPLATE = lib
TARGET = DebuggingHelper
CONFIG += shared
DESTDIR = ../../../bin
include(../../qworkbenchlibrary.pri)
linux-* {
CONFIG -= release
-1
View File
@@ -1,4 +1,3 @@
IDE_BUILD_TREE = $$OUT_PWD/../../..
include(../qtcreator.pri)
win32 {
-3
View File
@@ -1,6 +1,3 @@
isEmpty(IDE_BUILD_TREE) {
IDE_BUILD_TREE = $$OUT_PWD/../../..
}
include(../qtcreator.pri)
isEmpty(PROVIDER) {