From b519dc541a2103115480f648f7f69990de248fe0 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Sat, 29 Jun 2019 16:28:32 +0200 Subject: CMake build: Fix building with CMake Change-Id: Ib1ba9d286a029d20106d105b3db7fb34596badbd Reviewed-by: Orgad Shaneh --- src/libs/clangsupport/CMakeLists.txt | 7 ++++++- src/tools/clangrefactoringbackend/source/CMakeLists.txt | 2 -- tests/unit/unittest/CMakeLists.txt | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/libs/clangsupport/CMakeLists.txt b/src/libs/clangsupport/CMakeLists.txt index 84cdbaf8b9..0366d74f8c 100644 --- a/src/libs/clangsupport/CMakeLists.txt +++ b/src/libs/clangsupport/CMakeLists.txt @@ -11,7 +11,6 @@ add_qtc_library(ClangSupport annotationsmessage.cpp annotationsmessage.h baseserverproxy.cpp baseserverproxy.h cancelmessage.cpp cancelmessage.h - changedfilepathcompressor.h clangcodemodelclientinterface.cpp clangcodemodelclientinterface.h clangcodemodelclientmessages.h clangcodemodelclientproxy.cpp clangcodemodelclientproxy.h @@ -36,6 +35,8 @@ add_qtc_library(ClangSupport connectionclient.cpp connectionclient.h connectionserver.cpp connectionserver.h diagnosticcontainer.cpp diagnosticcontainer.h + directoryandfilepathid.h + directorypathid.h documentschangedmessage.cpp documentschangedmessage.h documentsclosedmessage.cpp documentsclosedmessage.h documentsopenedmessage.cpp documentsopenedmessage.h @@ -61,6 +62,10 @@ add_qtc_library(ClangSupport filepathstoragesources.h filepathstoragesqlitestatementfactory.h filepathview.h + filestatus.h + filestatuscache.cpp filestatuscache.h + filesystem.cpp filesystem.h + filesysteminterface.h fixitcontainer.cpp fixitcontainer.h followsymbolmessage.cpp followsymbolmessage.h generatedfiles.cpp generatedfiles.h diff --git a/src/tools/clangrefactoringbackend/source/CMakeLists.txt b/src/tools/clangrefactoringbackend/source/CMakeLists.txt index d43472fd60..6c149bf9cd 100644 --- a/src/tools/clangrefactoringbackend/source/CMakeLists.txt +++ b/src/tools/clangrefactoringbackend/source/CMakeLists.txt @@ -18,8 +18,6 @@ add_qtc_library(clangrefactoringbackend_lib STATIC collectmacrospreprocessorcallbacks.h collectmacrossourcefilecallbacks.cpp collectmacrossourcefilecallbacks.h collectsymbolsaction.cpp collectsymbolsaction.h - filestatus.h - filestatuscache.cpp filestatuscache.h filestatuspreprocessorcallbacks.cpp filestatuspreprocessorcallbacks.h findcursorusr.h findlocationsofusrs.h diff --git a/tests/unit/unittest/CMakeLists.txt b/tests/unit/unittest/CMakeLists.txt index 0aed2a8995..16ef5a9d9f 100644 --- a/tests/unit/unittest/CMakeLists.txt +++ b/tests/unit/unittest/CMakeLists.txt @@ -29,7 +29,7 @@ add_qtc_test(unittest GTEST SOURCES builddependenciesprovider-test.cpp builddependenciesstorage-test.cpp - changedfilepathcompressor-test.cpp + directorypathcompressor-test.cpp clangpathwatcher-test.cpp clangqueryexamplehighlightmarker-test.cpp clangqueryhighlightmarker-test.cpp @@ -81,6 +81,7 @@ add_qtc_test(unittest GTEST mockgeneratedfiles.h mockmodifiedtimechecker.h mockmutex.h + mockfilesystem.h mockpchcreator.h mockpchmanagerclient.h mockpchmanagernotifier.h -- cgit v1.2.3