forked from qt-creator/qt-creator
We want to share more functionality of the IPC mechanism and for what we need more interface classes. But we use this names already for the ClangCodeModel implementation. So we rename the them to ClangCodeModel*. Change-Id: Ie320e0d3b993586a9bcc6a5aa0d32427af41202e Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
89 lines
2.6 KiB
Prolog
89 lines
2.6 KiB
Prolog
INCLUDEPATH += ../mockup
|
|
|
|
include(gmock_dependency.pri)
|
|
include(clang_dependency.pri)
|
|
include(creator_dependency.pri)
|
|
include(benchmark_dependency.pri)
|
|
|
|
QT += core network testlib widgets
|
|
CONFIG += console c++11 testcase object_parallel_to_source
|
|
CONFIG -= app_bundle
|
|
|
|
OBJECTS_DIR = $$OUT_PWD/obj # workaround for qmake bug in object_parallel_to_source
|
|
|
|
osx:QMAKE_CXXFLAGS = -stdlib=libc++
|
|
|
|
force_debug_info:QMAKE_CXXFLAGS += -fno-omit-frame-pointer
|
|
|
|
DEFINES += \
|
|
QT_RESTRICTED_CAST_FROM_ASCII \
|
|
UNIT_TESTS \
|
|
DONT_CHECK_MESSAGE_COUNTER \
|
|
TESTDATA_DIR=\"R\\\"xxx($$PWD/data)xxx\\\"\"
|
|
msvc: QMAKE_CXXFLAGS_WARN_ON -= -w34100 # 'unreferenced formal parameter' in MATCHER_* functions
|
|
win32:DEFINES += ECHOSERVER=\"R\\\"xxx($$OUT_PWD/../echo)xxx\\\"\"
|
|
unix: DEFINES += ECHOSERVER=\"R\\\"xxx($$OUT_PWD/../echoserver/echo)xxx\\\"\"
|
|
|
|
SOURCES += \
|
|
activationsequencecontextprocessortest.cpp \
|
|
activationsequenceprocessortest.cpp \
|
|
clangcodecompleteresultstest.cpp \
|
|
clangcompletioncontextanalyzertest.cpp \
|
|
clangdiagnosticfiltertest.cpp \
|
|
clangfixitoperationtest.cpp \
|
|
clangipcservertest.cpp \
|
|
clangstringtest.cpp \
|
|
clientserverinprocesstest.cpp \
|
|
clientserveroutsideprocess.cpp \
|
|
codecompletionsextractortest.cpp \
|
|
codecompletiontest.cpp \
|
|
completionchunkstotextconvertertest.cpp \
|
|
createtablesqlstatementbuildertest.cpp \
|
|
diagnosticsettest.cpp \
|
|
diagnostictest.cpp \
|
|
fixittest.cpp \
|
|
lineprefixertest.cpp \
|
|
main.cpp \
|
|
projecttest.cpp \
|
|
readandwritemessageblocktest.cpp \
|
|
sourcelocationtest.cpp \
|
|
sourcerangetest.cpp \
|
|
spydummy.cpp \
|
|
sqlitecolumntest.cpp \
|
|
sqlitedatabasebackendtest.cpp \
|
|
sqlitedatabasetest.cpp \
|
|
sqlitestatementtest.cpp \
|
|
sqlitetabletest.cpp \
|
|
sqlstatementbuildertest.cpp \
|
|
translationunitstest.cpp \
|
|
translationunittest.cpp \
|
|
unsavedfilestest.cpp \
|
|
utf8test.cpp \
|
|
senddocumenttrackertest.cpp \
|
|
cursortest.cpp \
|
|
skippedsourcerangestest.cpp \
|
|
highlightingmarksreportertest.cpp \
|
|
chunksreportedmonitor.cpp \
|
|
unsavedfiletest.cpp \
|
|
clangisdiagnosticrelatedtolocationtest.cpp \
|
|
# smallstringtest.cpp \
|
|
highlightingmarkstest.cpp \
|
|
sizedarraytest.cpp \
|
|
utf8positionfromlinecolumntest.cpp
|
|
|
|
exists($$GOOGLEBENCHMARK_DIR) {
|
|
SOURCES += \
|
|
smallstringbenchmark.cpp
|
|
}
|
|
|
|
HEADERS += \
|
|
gtest-qt-printing.h \
|
|
mockclangcodemodelclient.h \
|
|
mockclangcodemodelserver.h \
|
|
spydummy.h \
|
|
matcher-diagnosticcontainer.h \
|
|
chunksreportedmonitor.h \
|
|
mocksenddocumentannotationscallback.h
|
|
|
|
OTHER_FILES += $$files(data/*)
|