CMake build: Fix building with CMake

Change-Id: Ib1ba9d286a029d20106d105b3db7fb34596badbd
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Cristian Adam
2019-06-29 16:28:32 +02:00
parent fd36a0b2cb
commit b519dc541a
3 changed files with 8 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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