blob: aa650c11b340b04c1b58a226dd325cd78444caa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# TODO: Support static build, currently being done with CPLUSPLUS_BUILD_STATIC_LIB
# -- if really needed that is.
# TODO: Make Qt5::Gui optional -- if really needed that is.
add_qtc_library(CPlusPlus
DEPENDS Utils Qt5::Concurrent
DEFINES CPLUSPLUS_BUILD_LIB
PUBLIC_DEPENDS 3rd_cplusplus Qt5::Gui
SOURCES
ASTParent.cpp ASTParent.h
ASTPath.cpp ASTPath.h
AlreadyConsideredClassContainer.h
BackwardsScanner.cpp BackwardsScanner.h
CppDocument.cpp CppDocument.h
CppRewriter.cpp CppRewriter.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
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
cppmodelmanagerbase.cpp cppmodelmanagerbase.h
findcdbbreakpoint.cpp findcdbbreakpoint.h
pp-cctype.h pp-engine.cpp
pp-engine.h pp-scanner.cpp
pp-scanner.h
pp.h
SKIP_PCH
)
if(TARGET CPlusPlus)
qtc_enable_release_for_debug_configuration()
if (BUILD_WITH_PCH)
target_precompile_headers(CPlusPlus PRIVATE
"${QtCreator_SOURCE_DIR}/src/shared/qtcreator_gui_pch.h")
endif()
endif()
|