Commit 50649339 authored by Kai Koehne's avatar Kai Koehne Committed by Eike Ziller
Browse files

Avoid adding the same DEFINE multiple times to the command line



E.g. on MSVC, QT_CREATOR was passed 14 times ...

Change-Id: Ife39267b0d6f2def1706b823abfd0226325437ae
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 655962a2
INCLUDEPATH +=$$IDE_SOURCE_TREE/src/libs/3rdparty $$IDE_SOURCE_TREE/src/libs/3rdparty/cplusplus
INCLUDEPATH += $$PWD
INCLUDEPATH *= $$IDE_SOURCE_TREE/src/libs/3rdparty
INCLUDEPATH *= $$IDE_SOURCE_TREE/src/libs/3rdparty/cplusplus
INCLUDEPATH *= $$PWD
LIBS *= -l$$qtLibraryName(CPlusPlus)
LIBS *= -l$$qtLibraryName(GLSL)
DEFINES += QT_CREATOR
DEFINES *= QT_CREATOR
LIBS *= -l$$qtLibraryName(LanguageUtils)
DEFINES += QT_CREATOR
DEFINES *= QT_CREATOR
INCLUDEPATH += $$PWD $$PWD/easingpane
INCLUDEPATH *= $$PWD
INCLUDEPATH *= $$PWD/easingpane
greaterThan(QT_MAJOR_VERSION, 4) {
QT += quick1
} else {
......
INCLUDEPATH += \
$$PWD/../../shared \
$$PWD/../../shared/qmljs \
$$PWD/../../shared/qmljs/parser
INCLUDEPATH *= $$PWD/../../shared
INCLUDEPATH *= $$PWD/../../shared/qmljs
INCLUDEPATH *= $$PWD/../../shared/qmljs/parser
LIBS *= -l$$qtLibraryName(QmlJS)
DEFINES += QT_CREATOR
DEFINES *= QT_CREATOR
include(analyzerbase_dependencies.pri)
INCLUDEPATH += $$PWD
INCLUDEPATH *= $$PWD
LIBS *= -l$$qtLibraryName(AnalyzerBase)
include(debugger_dependencies.pri)
INCLUDEPATH += $$PWD
INCLUDEPATH *= $$PWD
LIBS *= -l$$qtLibraryName(Debugger)
include(qmljstools_dependencies.pri)
INCLUDEPATH += $$PWD/..
INCLUDEPATH *= $$PWD/..
LIBS *= -l$$qtLibraryName(QmlJSTools)
include(qtsupport_dependencies.pri)
LIBS *= -l$$qtLibraryName(QtSupport)
DEFINES += \
QMAKE_AS_LIBRARY \
PROPARSER_THREAD_SAFE PROEVALUATOR_THREAD_SAFE PROEVALUATOR_CUMULATIVE
DEFINES *= QMAKE_AS_LIBRARY
DEFINES *= PROPARSER_THREAD_SAFE
DEFINES *= PROEVALUATOR_THREAD_SAFE
DEFINES *= PROEVALUATOR_CUMULATIVE
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