cplusplus-lib.pri 1.91 KB
Newer Older
1
2
3
4
5
6
contains(CONFIG, dll) {
    DEFINES += CPLUSPLUS_BUILD_LIB
} else {
    DEFINES += CPLUSPLUS_BUILD_STATIC_LIB
}

7
8
9
10
INCLUDEPATH += $$PWD

include(../../shared/cplusplus/cplusplus.pri)

Roberto Raggi's avatar
Roberto Raggi committed
11
contains(QT, gui) {
12
HEADERS += \
13
    $$PWD/Icons.h \
14
15
    $$PWD/ExpressionUnderCursor.h \
    $$PWD/TokenUnderCursor.h \
Roberto Raggi's avatar
Roberto Raggi committed
16
    $$PWD/BackwardsScanner.h \
17
    $$PWD/MatchingText.h \
18
19
20
21
22
23
    $$PWD/OverviewModel.h

SOURCES += \
    $$PWD/Icons.cpp \
    $$PWD/ExpressionUnderCursor.cpp \
    $$PWD/TokenUnderCursor.cpp \
Roberto Raggi's avatar
Roberto Raggi committed
24
    $$PWD/BackwardsScanner.cpp \
25
    $$PWD/MatchingText.cpp \
26
27
28
29
30
    $$PWD/OverviewModel.cpp
}

HEADERS += \
    $$PWD/SimpleLexer.h \
31
32
33
34
35
36
    $$PWD/CppDocument.h \
    $$PWD/Overview.h \
    $$PWD/NamePrettyPrinter.h \
    $$PWD/TypeOfExpression.h \
    $$PWD/TypePrettyPrinter.h \
    $$PWD/ResolveExpression.h \
Roberto Raggi's avatar
Roberto Raggi committed
37
    $$PWD/LookupItem.h \
38
    $$PWD/LookupContext.h \
Roberto Raggi's avatar
Roberto Raggi committed
39
    $$PWD/ASTParent.h \
40
    $$PWD/DeprecatedGenTemplateInstance.h \
41
    $$PWD/FindUsages.h \
42
    $$PWD/CheckUndefinedSymbols.h \
43
    $$PWD/DependencyTable.h \
44
45
46
    $$PWD/PreprocessorClient.h \
    $$PWD/PreprocessorEnvironment.h \
    $$PWD/Macro.h \
47
    $$PWD/FastPreprocessor.h \
48
49
50
51
52
53
54
55
56
57
58
59
60
61
    $$PWD/pp.h \
    $$PWD/pp-cctype.h \
    $$PWD/pp-engine.h \
    $$PWD/pp-macro-expander.h \
    $$PWD/pp-scanner.h

SOURCES += \
    $$PWD/SimpleLexer.cpp \
    $$PWD/CppDocument.cpp \
    $$PWD/Overview.cpp \
    $$PWD/NamePrettyPrinter.cpp \
    $$PWD/TypeOfExpression.cpp \
    $$PWD/TypePrettyPrinter.cpp \
    $$PWD/ResolveExpression.cpp \
Roberto Raggi's avatar
Roberto Raggi committed
62
    $$PWD/LookupItem.cpp \
63
    $$PWD/LookupContext.cpp \
Roberto Raggi's avatar
Roberto Raggi committed
64
    $$PWD/ASTParent.cpp \
65
    $$PWD/DeprecatedGenTemplateInstance.cpp \
66
    $$PWD/FindUsages.cpp \
67
    $$PWD/CheckUndefinedSymbols.cpp \
68
    $$PWD/DependencyTable.cpp \
69
70
    $$PWD/PreprocessorClient.cpp \
    $$PWD/PreprocessorEnvironment.cpp \
71
    $$PWD/FastPreprocessor.cpp \
72
73
74
75
76
77
    $$PWD/Macro.cpp \
    $$PWD/pp-engine.cpp \
    $$PWD/pp-macro-expander.cpp \
    $$PWD/pp-scanner.cpp

RESOURCES += $$PWD/cplusplus.qrc