Commit 7309e8bb authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Introduce and make use of qtcreatortool.pri.



To factor out things common to (most) tools.

Change-Id: I5a4605f230d35280eda71e5f195d49d7bb929ae0
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 973fabc7
include(../qtcreator.pri)
include(rpath.pri)
TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
DESTDIR = $${IDE_LIBEXEC_PATH}
target.path = $${QTC_PREFIX}/bin # FIXME: libexec, more or less
INSTALLS += target
TEMPLATE = app
TARGET = buildoutputparser
QTC_LIB_DEPENDS = utils
QTC_PLUGIN_DEPENDS = projectexplorer qtsupport qmakeprojectmanager
QT = core gui
CONFIG += console
CONFIG -= app_bundle
include(../../../qtcreator.pri)
include(../../rpath.pri)
include(../../qtcreatortool.pri)
win32|equals(TEST, 1):DEFINES += HAS_MSVC_PARSER
TARGET = buildoutputparser
DESTDIR = $$IDE_BIN_PATH
target.path = $$QTC_PREFIX/bin
INSTALLS += target
win32|equals(TEST, 1):DEFINES += HAS_MSVC_PARSER
SOURCES = \
main.cpp \
......
include(../../shared/registryaccess/registryaccess.pri)
include(../../qtcreatortool.pri)
QT += widgets
TARGET = qtcdebugger
TEMPLATE = app
SOURCES += main.cpp
DESTDIR=../../../bin
target.path=$$QTC_PREFIX/bin
INSTALLS+=target
include(../../../qtcreator.pri)
app_info.input = $$PWD/../../app/app_version.h.in
app_info.output = $$OUT_PWD/app_version.h
QMAKE_SUBSTITUTES += app_info
include(../../../qtcreator.pri)
include(../../qtcreatortool.pri)
TARGET = qtcreator_crash_handler
DESTDIR = $$IDE_LIBEXEC_PATH
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += \
main.cpp \
......@@ -32,6 +28,3 @@ HEADERS += \
FORMS += \
crashhandlerdialog.ui
target.path = $$QTC_PREFIX/bin
INSTALLS += target
QT -= gui
include(../../../qtcreator.pri)
include(../../qtcreatortool.pri)
TEMPLATE = app
TARGET = qtpromaker
DESTDIR = $$IDE_LIBEXEC_PATH
CONFIG += console warn_on
CONFIG -= app_bundle
CONFIG += warn_on
SOURCES += main.cpp
target.path = $$QTC_PREFIX/bin # FIXME: libexec, more or less
INSTALLS += target
QTC_LIB_DEPENDS += \
utils
include(../../../qtcreator.pri)
include(../../rpath.pri)
CONFIG += console
CONFIG -= app_bundle
include(../../qtcreatortool.pri)
QT -= gui test
......@@ -50,9 +46,5 @@ HEADERS += \
rmtoolchainoperation.h \
settings.h \
DESTDIR=$$IDE_LIBEXEC_PATH
macx:DEFINES += "DATA_PATH=\"\\\".\\\"\""
else:DEFINES += "DATA_PATH=\"\\\"../share/qtcreator\\\"\""
target.path = $$QTC_PREFIX/bin # FIXME: libexec, more or less
INSTALLS += target
CONFIG += warn_on console use_c_linker static
CONFIG -= qt app_bundle
CONFIG += warn_on use_c_linker static
CONFIG -= qt
include(../../../qtcreator.pri)
include(../../qtcreatortool.pri)
# Switch to statically linked CRT. Note: There will be only one
# global state of the CRT, reconsider if other DLLs are required!
......@@ -18,9 +18,6 @@ win32-msvc* {
SOURCES = wininterrupt.c
TEMPLATE = app
DESTDIR = $$IDE_LIBEXEC_PATH
build_all:!build_pass {
CONFIG -= build_all
CONFIG += release
......@@ -35,6 +32,3 @@ contains(ENV_CPU, ^AMD64$) {
} else {
TARGET = win32interrupt
}
target.path = $$QTC_PREFIX/bin # FIXME: libexec, more or less
INSTALLS += target
CONFIG += warn_on console
CONFIG -= qt app_bundle
CONFIG += warn_on
CONFIG -= qt
include(../../../qtcreator.pri)
include(../../qtcreatortool.pri)
TEMPLATE = app
DESTDIR = $$IDE_LIBEXEC_PATH
SOURCES = winrtdebughelper.cpp
build_all:!build_pass {
......@@ -13,5 +11,3 @@ build_all:!build_pass {
}
TARGET = winrtdebughelper
target.path = $$QTC_PREFIX/bin # FIXME: libexec, more or less
INSTALLS += target
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