forked from qt-creator/qt-creator
CMake build system: Propagate less target dependencies and includes
...and thereby have less include paths per compile unit. Change-Id: I70de8db12d881ea827595ca0cacaea13b5c0f3bd Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
add_qtc_library(KSyntaxHighlighting SHARED
|
||||
PUBLIC_INCLUDES autogenerated/ autogenerated/src/lib src/lib
|
||||
INCLUDES autogenerated/
|
||||
PUBLIC_INCLUDES src/lib autogenerated/src/lib
|
||||
DEFINES KSYNTAXHIGHLIGHTING_LIBRARY
|
||||
DEPENDS Qt5::Network Qt5::Widgets
|
||||
SOURCES
|
||||
|
@@ -3,9 +3,9 @@
|
||||
# TODO: Make Qt5::Gui optional -- if really needed that is.
|
||||
|
||||
add_qtc_library(CPlusPlus
|
||||
DEPENDS Utils
|
||||
DEPENDS Utils Qt5::Concurrent
|
||||
DEFINES CPLUSPLUS_BUILD_LIB
|
||||
PUBLIC_DEPENDS 3rd_cplusplus Qt5::Concurrent Qt5::Gui
|
||||
PUBLIC_DEPENDS 3rd_cplusplus Qt5::Gui
|
||||
PUBLIC_INCLUDES src/libs/3rdparty
|
||||
SOURCES
|
||||
ASTParent.cpp ASTParent.h
|
||||
|
@@ -1,6 +1,6 @@
|
||||
add_qtc_library(QmlJS
|
||||
DEPENDS ExtensionSystem Utils
|
||||
PUBLIC_DEPENDS CPlusPlus Qt5::Widgets Qt5::Xml LanguageUtils
|
||||
DEPENDS ExtensionSystem Utils Qt5::Xml
|
||||
PUBLIC_DEPENDS CPlusPlus Qt5::Widgets LanguageUtils
|
||||
SOURCES
|
||||
jsoncheck.cpp jsoncheck.h
|
||||
parser/qmldirparser.cpp parser/qmldirparser_p.h
|
||||
|
@@ -1,7 +1,7 @@
|
||||
add_qtc_library(Utils
|
||||
DEPENDS Qt5::Xml
|
||||
DEPENDS Qt5::Qml Qt5::Xml
|
||||
PUBLIC_DEPENDS
|
||||
Qt5::Concurrent Qt5::Core Qt5::Network Qt5::Qml Qt5::Gui Qt5::Widgets
|
||||
Qt5::Concurrent Qt5::Core Qt5::Network Qt5::Gui Qt5::Widgets
|
||||
Qt6Core5Compat
|
||||
DEFINES
|
||||
"QTC_REL_TOOLS_PATH=\"${RELATIVE_LIBEXEC_PATH}\""
|
||||
|
Reference in New Issue
Block a user