aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2018-11-22 13:04:47 +0100
committerMarco Bubke <marco.bubke@qt.io>2018-11-22 13:41:14 +0000
commit30b522892c51f3d73cf4768e5ad86bce842d65b6 (patch)
tree09634a7432359c69e3cb4f6fc369947102a80f7b
parentafe5699f8d71b3351b73cacabad7f9d7ab4be89c (diff)
UnitTests: Fix build
Change-Id: I9527c97ef2a7360df7b347dc779989c6f6a9710b Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
-rw-r--r--src/tools/clangpchmanagerbackend/source/clangpchmanagerbackend-source.pri20
-rw-r--r--tests/unit/unittest/unittest.pro6
2 files changed, 13 insertions, 13 deletions
diff --git a/src/tools/clangpchmanagerbackend/source/clangpchmanagerbackend-source.pri b/src/tools/clangpchmanagerbackend/source/clangpchmanagerbackend-source.pri
index 6c45f38ff59..b81b6cd9b5b 100644
--- a/src/tools/clangpchmanagerbackend/source/clangpchmanagerbackend-source.pri
+++ b/src/tools/clangpchmanagerbackend/source/clangpchmanagerbackend-source.pri
@@ -1,12 +1,11 @@
INCLUDEPATH += $$PWD
SOURCES += \
+ $$PWD/builddependenciesprovider.cpp \
$$PWD/pchmanagerserver.cpp \
$$PWD/projectparts.cpp \
$$PWD/projectpartqueue.cpp \
- $$PWD/pchtaskgenerator.cpp \
- $$PWD/builddependenciesprovider.cpp \
- $$PWD/builddependencycollector.cpp
+ $$PWD/pchtaskgenerator.cpp
HEADERS += \
$$PWD/pchmanagerserver.h \
@@ -34,16 +33,13 @@ HEADERS += \
$$PWD/modifiedtimecheckerinterface.h \
$$PWD/sourceentry.h \
$$PWD/builddependenciesstorage.h \
- $$PWD/builddependencycollector.h \
- $$PWD/builddependencygeneratorinterface.h \
- $$PWD/collectbuilddependencytoolaction.h \
- $$PWD/collectbuilddependencyaction.h \
- $$PWD/collectbuilddependencypreprocessorcallbacks.h
+ $$PWD/builddependencygeneratorinterface.h
!isEmpty(LIBTOOLING_LIBS) {
SOURCES += \
$$PWD/usedmacrosandsourcescollector.cpp \
- $$PWD/pchcreator.cpp
+ $$PWD/pchcreator.cpp \
+ $$PWD/builddependencycollector.cpp
HEADERS += \
$$PWD/collectusedmacroactionfactory.h \
@@ -51,5 +47,9 @@ HEADERS += \
$$PWD/collectusedmacrosandsourcespreprocessorcallbacks.h \
$$PWD/pchcreator.h \
$$PWD/processormanager.h \
- $$PWD/usedmacrosandsourcescollector.h
+ $$PWD/usedmacrosandsourcescollector.h \
+ $$PWD/builddependencycollector.h \
+ $$PWD/collectbuilddependencytoolaction.h \
+ $$PWD/collectbuilddependencyaction.h \
+ $$PWD/collectbuilddependencypreprocessorcallbacks.h
}
diff --git a/tests/unit/unittest/unittest.pro b/tests/unit/unittest/unittest.pro
index 3c17ef126ad..545599ed603 100644
--- a/tests/unit/unittest/unittest.pro
+++ b/tests/unit/unittest/unittest.pro
@@ -106,8 +106,7 @@ SOURCES += \
pchtaskgenerator-test.cpp \
compilationdatabaseutils-test.cpp \
builddependenciesprovider-test.cpp \
- builddependenciesstorage-test.cpp \
- builddependencycollector-test.cpp
+ builddependenciesstorage-test.cpp
!isEmpty(LIBCLANG_LIBS) {
SOURCES += \
@@ -184,7 +183,8 @@ SOURCES += \
symbolscollector-test.cpp \
symbolfinder-test.cpp \
testclangtool.cpp \
- usedmacrocollector-test.cpp
+ usedmacrocollector-test.cpp \
+ builddependencycollector-test.cpp
}
exists($$GOOGLEBENCHMARK_DIR) {