From 44912450f48382cdd60b75d3a34d25ac774f1f79 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 15 Sep 2021 15:19:17 +0200 Subject: [PATCH] KSyntaxHighlighting: Streamline qbs build We don't have to build all the source files, and with Qt6, we can't. Change-Id: Ica16e90160cf4a90612f7bba28a1140d4e8c70a2 Reviewed-by: David Schulz --- .../syntax-highlighting.qbs | 46 ++++++++++++++++++- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/src/libs/3rdparty/syntax-highlighting/syntax-highlighting.qbs b/src/libs/3rdparty/syntax-highlighting/syntax-highlighting.qbs index e3c7682e3f5..27b5987e1a8 100644 --- a/src/libs/3rdparty/syntax-highlighting/syntax-highlighting.qbs +++ b/src/libs/3rdparty/syntax-highlighting/syntax-highlighting.qbs @@ -44,8 +44,50 @@ Project { name: "lib" prefix: "src/lib/" files: [ - "*.h", - "*.cpp" + "abstracthighlighter.cpp", + "abstracthighlighter.h", + "abstracthighlighter_p.h", + "context.cpp", + "context_p.h", + "contextswitch.cpp", + "contextswitch_p.h", + "definition.cpp", + "definition.h", + "definition_p.h", + "definitiondownloader.cpp", + "definitiondownloader.h", + "definitionref_p.h", + "foldingregion.cpp", + "foldingregion.h", + "format.cpp", + "format.h", + "format_p.h", + "htmlhighlighter.cpp", + "htmlhighlighter.h", + "keywordlist.cpp", + "keywordlist_p.h", + "ksyntaxhighlighting_export.h", + "matchresult_p.h", + "repository.cpp", + "repository.h", + "repository_p.h", + "rule.cpp", + "rule_p.h", + "state.cpp", + "state.h", + "state_p.h", + "syntaxhighlighter.cpp", + "syntaxhighlighter.h", + "textstyledata_p.h", + "theme.cpp", + "theme.h", + "themedata.cpp", + "themedata_p.h", + "wildcardmatcher.cpp", + "wildcardmatcher_p.h", + "worddelimiters.cpp", + "worddelimiters_p.h", + "xml_p.h", ] }