forked from qt-creator/qt-creator
make library and plugin dependencies declarative
instead of directly including the respective pri files in *_dependencies.pri, set variables and let qtcreator.pri resolve them to includes. this will allow us to re-use the dependency info elsewhere. Change-Id: Iaa33924e428ac0409660f42df2f98a7978452d3e Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
include(analyzerbase_dependencies.pri)
|
||||
|
||||
LIBS *= -l$$qtLibraryName(AnalyzerBase)
|
||||
@@ -1,5 +1,8 @@
|
||||
include(../../plugins/coreplugin/coreplugin.pri)
|
||||
include(../../libs/cplusplus/cplusplus.pri)
|
||||
include(../../plugins/projectexplorer/projectexplorer.pri)
|
||||
include(../../plugins/remotelinux/remotelinux.pri)
|
||||
include(../../plugins/cpptools/cpptools.pri)
|
||||
QTC_PLUGIN_NAME = AnalyzerBase
|
||||
QTC_LIB_DEPENDS += \
|
||||
cplusplus
|
||||
QTC_PLUGIN_DEPENDS += \
|
||||
coreplugin \
|
||||
projectexplorer \
|
||||
remotelinux \
|
||||
cpptools
|
||||
|
||||
Reference in New Issue
Block a user