diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-05-12 22:20:56 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2019-05-17 13:33:28 +0000 |
commit | d855b84c5df923394ace3bb91dab379f7e0daa34 (patch) | |
tree | e184ccdf5724151465a1653f9fc308af43293de8 /src/libs/3rdparty/cplusplus | |
parent | f872a95fddd2690bb6953a17e48935c1b12d83d9 (diff) |
Qt Creator CMake port
Based on Tobias Hunger's work from a few months ago.
The CMake configuration needs libclang and Qt paths specified as
CMAKE_PREFIX_PATH.
Auto tests are run with "ctest". At the moment the pass rate is 87%.
Change-Id: Iba98e39bf22077d52706dce6c85986be67a6eab0
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/libs/3rdparty/cplusplus')
-rw-r--r-- | src/libs/3rdparty/cplusplus/CMakeLists.txt | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/libs/3rdparty/cplusplus/CMakeLists.txt b/src/libs/3rdparty/cplusplus/CMakeLists.txt new file mode 100644 index 0000000000..c9c9281718 --- /dev/null +++ b/src/libs/3rdparty/cplusplus/CMakeLists.txt @@ -0,0 +1,45 @@ +add_qtc_library(3rd_cplusplus OBJECT + PUBLIC_DEPENDS Qt5::Core Utils + DEFINES CPLUSPLUS_BUILD_LIB + INCLUDES "${CMAKE_SOURCE_DIR}/src/libs" + SOURCES + AST.cpp AST.h + ASTClone.cpp + ASTMatch0.cpp + ASTMatcher.cpp ASTMatcher.h + ASTPatternBuilder.h + ASTVisit.cpp + ASTVisitor.cpp ASTVisitor.h + ASTfwd.h + Bind.cpp Bind.h + CPlusPlus.h + CPlusPlusForwardDeclarations.h + Control.cpp Control.h + CoreTypes.cpp CoreTypes.h + DiagnosticClient.cpp DiagnosticClient.h + FullySpecifiedType.cpp FullySpecifiedType.h + Keywords.cpp + Lexer.cpp Lexer.h + LiteralTable.h + Literals.cpp Literals.h + Matcher.cpp Matcher.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 + SafeMatcher.cpp SafeMatcher.h + Scope.cpp Scope.h + Symbol.cpp Symbol.h + SymbolVisitor.h + Symbols.cpp Symbols.h + Templates.cpp Templates.h + Token.cpp Token.h + TranslationUnit.cpp TranslationUnit.h + Type.cpp Type.h + TypeVisitor.cpp TypeVisitor.h + cppassert.h +) |