Commit 97ffee6b authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

automate setting IDE_BUILD_TREE

parent 905f3d6c
IDE_BUILD_TREE = $$OUT_PWD/..
include(../qtcreator.pri)
TEMPLATE = app
......
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
......
IDE_BUILD_TREE = $$OUT_PWD/../..
include(../../qtcreator.pri)
win32:i_flag = i
......
IDE_BUILD_TREE = $$OUT_PWD/../../..
include(../../../qtcreator.pri)
TRANSLATIONS = de ja
......
IDE_BUILD_TREE = $$OUT_PWD/../..
include(../../qtcreator.pri)
include(../shared/qtsingleapplication/qtsingleapplication.pri)
......
IDE_BUILD_TREE = $$OUT_PWD/../../..
include(../../../qtcreator.pri)
TEMPLATE = app
......
include(../../qworkbenchlibrary.pri)
TEMPLATE = lib
TARGET = DebuggingHelper
CONFIG += shared
DESTDIR = ../../../bin
include(../../qworkbenchlibrary.pri)
linux-* {
CONFIG -= release
......
IDE_BUILD_TREE = $$OUT_PWD/../../..
include(../qtcreator.pri)
win32 {
......
isEmpty(IDE_BUILD_TREE) {
IDE_BUILD_TREE = $$OUT_PWD/../../..
}
include(../qtcreator.pri)
isEmpty(PROVIDER) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment