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(cpptools_dependencies.pri)
 | 
			
		||||
 | 
			
		||||
LIBS *= -l$$qtLibraryName(CppTools)
 | 
			
		||||
@@ -1,6 +1,9 @@
 | 
			
		||||
include($$IDE_SOURCE_TREE/src/libs/languageutils/languageutils.pri)
 | 
			
		||||
include($$IDE_SOURCE_TREE/src/libs/cplusplus/cplusplus.pri)
 | 
			
		||||
include($$IDE_SOURCE_TREE/src/plugins/projectexplorer/projectexplorer.pri)
 | 
			
		||||
include($$IDE_SOURCE_TREE/src/plugins/texteditor/texteditor.pri)
 | 
			
		||||
include($$IDE_SOURCE_TREE/src/plugins/locator/locator.pri)
 | 
			
		||||
include($$IDE_SOURCE_TREE/src/plugins/find/find.pri)
 | 
			
		||||
QTC_PLUGIN_NAME = CppTools
 | 
			
		||||
QTC_LIB_DEPENDS += \
 | 
			
		||||
    languageutils \
 | 
			
		||||
    cplusplus
 | 
			
		||||
QTC_PLUGIN_DEPENDS += \
 | 
			
		||||
    projectexplorer \
 | 
			
		||||
    texteditor \
 | 
			
		||||
    locator \
 | 
			
		||||
    find
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user