forked from qt-creator/qt-creator
Change-Id: Iecf32122df41f304ec6df538bb0dd8a263238a86 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
158 lines
4.6 KiB
QML
158 lines
4.6 KiB
QML
import qbs 1.0
|
|
import QtcLibrary
|
|
|
|
QtcLibrary {
|
|
name: "CPlusPlus"
|
|
|
|
cpp.includePaths: base.concat("../3rdparty")
|
|
cpp.defines: base.concat([
|
|
"NDEBUG",
|
|
"CPLUSPLUS_BUILD_LIB"
|
|
])
|
|
cpp.optimization: "fast"
|
|
|
|
Depends { name: "Qt.widgets" }
|
|
|
|
Group {
|
|
name: "ThirdPartyCPlusPlus"
|
|
prefix: "../3rdparty/cplusplus/"
|
|
files: [
|
|
"AST.cpp",
|
|
"AST.h",
|
|
"ASTClone.cpp",
|
|
"ASTMatch0.cpp",
|
|
"ASTMatcher.cpp",
|
|
"ASTMatcher.h",
|
|
"ASTPatternBuilder.cpp",
|
|
"ASTPatternBuilder.h",
|
|
"ASTVisit.cpp",
|
|
"ASTVisitor.cpp",
|
|
"ASTVisitor.h",
|
|
"ASTfwd.h",
|
|
"Bind.cpp",
|
|
"Bind.h",
|
|
"CPlusPlus.h",
|
|
"Control.cpp",
|
|
"Control.h",
|
|
"CoreTypes.cpp",
|
|
"CoreTypes.h",
|
|
"DiagnosticClient.cpp",
|
|
"DiagnosticClient.h",
|
|
"FullySpecifiedType.cpp",
|
|
"FullySpecifiedType.h",
|
|
"Keywords.cpp",
|
|
"Lexer.cpp",
|
|
"Lexer.h",
|
|
"LiteralTable.cpp",
|
|
"LiteralTable.h",
|
|
"Literals.cpp",
|
|
"Literals.h",
|
|
"MemoryPool.cpp",
|
|
"MemoryPool.h",
|
|
"Name.cpp",
|
|
"Name.h",
|
|
"NameVisitor.cpp",
|
|
"NameVisitor.h",
|
|
"Names.cpp",
|
|
"Names.h",
|
|
"ObjectiveCAtKeywords.cpp",
|
|
"ObjectiveCTypeQualifiers.cpp",
|
|
"ObjectiveCTypeQualifiers.h",
|
|
"Parser.cpp",
|
|
"Parser.h",
|
|
"QtContextKeywords.cpp",
|
|
"QtContextKeywords.h",
|
|
"Scope.cpp",
|
|
"Scope.h",
|
|
"Symbol.cpp",
|
|
"Symbol.h",
|
|
"SymbolVisitor.cpp",
|
|
"SymbolVisitor.h",
|
|
"Symbols.cpp",
|
|
"Symbols.h",
|
|
"Templates.cpp",
|
|
"Templates.h",
|
|
"Token.cpp",
|
|
"Token.h",
|
|
"TranslationUnit.cpp",
|
|
"TranslationUnit.h",
|
|
"Type.cpp",
|
|
"Type.h",
|
|
"TypeMatcher.cpp",
|
|
"TypeMatcher.h",
|
|
"TypeVisitor.cpp",
|
|
"TypeVisitor.h",
|
|
]
|
|
}
|
|
|
|
Group {
|
|
name: "General"
|
|
files: [
|
|
"AlreadyConsideredClassContainer.h",
|
|
"ASTParent.cpp", "ASTParent.h",
|
|
"ASTPath.cpp", "ASTPath.h",
|
|
"BackwardsScanner.cpp", "BackwardsScanner.h",
|
|
"CppDocument.cpp", "CppDocument.h",
|
|
"CppRewriter.cpp", "CppRewriter.h",
|
|
"cppmodelmanagerbase.cpp", "cppmodelmanagerbase.h",
|
|
"DependencyTable.cpp", "DependencyTable.h",
|
|
"DeprecatedGenTemplateInstance.cpp", "DeprecatedGenTemplateInstance.h",
|
|
"ExpressionUnderCursor.cpp", "ExpressionUnderCursor.h",
|
|
"FastPreprocessor.cpp", "FastPreprocessor.h",
|
|
"FindUsages.cpp", "FindUsages.h",
|
|
"Icons.cpp", "Icons.h",
|
|
"LookupContext.cpp", "LookupContext.h",
|
|
"LookupItem.cpp", "LookupItem.h",
|
|
"Macro.cpp", "Macro.h",
|
|
"MatchingText.cpp", "MatchingText.h",
|
|
"NamePrettyPrinter.cpp", "NamePrettyPrinter.h",
|
|
"Overview.cpp", "Overview.h",
|
|
"OverviewModel.cpp", "OverviewModel.h",
|
|
"PPToken.cpp", "PPToken.h",
|
|
"PreprocessorClient.cpp", "PreprocessorClient.h",
|
|
"PreprocessorEnvironment.cpp", "PreprocessorEnvironment.h",
|
|
"ResolveExpression.cpp", "ResolveExpression.h",
|
|
"SimpleLexer.cpp", "SimpleLexer.h",
|
|
"SnapshotSymbolVisitor.cpp", "SnapshotSymbolVisitor.h",
|
|
"SymbolNameVisitor.cpp", "SymbolNameVisitor.h",
|
|
"TypeOfExpression.cpp", "TypeOfExpression.h",
|
|
"TypePrettyPrinter.cpp", "TypePrettyPrinter.h",
|
|
"cplusplus.qrc",
|
|
"findcdbbreakpoint.cpp", "findcdbbreakpoint.h",
|
|
"pp-cctype.h",
|
|
"pp-engine.cpp", "pp-engine.h",
|
|
"pp-scanner.cpp", "pp-scanner.h",
|
|
"pp.h",
|
|
]
|
|
}
|
|
|
|
Group {
|
|
name: "Images"
|
|
prefix: "images/"
|
|
files: [
|
|
"class.png",
|
|
"enum.png",
|
|
"enumerator.png",
|
|
"func.png",
|
|
"func_priv.png",
|
|
"func_prot.png",
|
|
"keyword.png",
|
|
"macro.png",
|
|
"namespace.png",
|
|
"signal.png",
|
|
"slot.png",
|
|
"slot_priv.png",
|
|
"slot_prot.png",
|
|
"var.png",
|
|
"var_priv.png",
|
|
"var_prot.png",
|
|
]
|
|
}
|
|
|
|
Export {
|
|
cpp.includePaths: [
|
|
"../3rdparty"
|
|
]
|
|
}
|
|
}
|