aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2019-06-29 16:28:32 +0200
committerCristian Adam <cristian.adam@qt.io>2019-07-01 07:43:04 +0000
commitb519dc541a2103115480f648f7f69990de248fe0 (patch)
tree1f444b88b677c41f6b07c254c5f55debf6c57a0e
parentfd36a0b2cb721a38587c905f3a641d48487442db (diff)
CMake build: Fix building with CMake
Change-Id: Ib1ba9d286a029d20106d105b3db7fb34596badbd Reviewed-by: Orgad Shaneh <orgads@gmail.com>
-rw-r--r--src/libs/clangsupport/CMakeLists.txt7
-rw-r--r--src/tools/clangrefactoringbackend/source/CMakeLists.txt2
-rw-r--r--tests/unit/unittest/CMakeLists.txt3
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