Skip to content

Commit

Permalink
Add header files to CMake so IDEs can list/index them
Browse files Browse the repository at this point in the history
  • Loading branch information
dantti authored and Allen Winter committed Jan 12, 2024
1 parent 0308ba0 commit 8befe73
Show file tree
Hide file tree
Showing 34 changed files with 773 additions and 248 deletions.
37 changes: 27 additions & 10 deletions client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,40 @@
#

set(gammaray_clientlib_srcs
classesiconsrepositoryclient.cpp
classesiconsrepositoryclient.h
client.cpp
remotemodel.cpp
selectionmodelclient.cpp
client.h
clientconnectionmanager.cpp
propertycontrollerclient.cpp
probecontrollerclient.cpp
processtracker.cpp
toolmanagerclient.cpp
clientconnectionmanager.h
clientdevice.cpp
tcpclientdevice.cpp
clientdevice.h
enumrepositoryclient.cpp
enumrepositoryclient.h
favoriteobjectclient.cpp
favoriteobjectclient.h
localclientdevice.cpp
localclientdevice.h
messagestatisticsmodel.cpp
messagestatisticsmodel.h
paintanalyzerclient.cpp
paintanalyzerclient.h
probecontrollerclient.cpp
probecontrollerclient.h
processtracker.cpp
processtracker.h
propertycontrollerclient.cpp
propertycontrollerclient.h
remotemodel.cpp
remotemodel.h
remoteviewclient.cpp
enumrepositoryclient.cpp
classesiconsrepositoryclient.cpp
favoriteobjectclient.cpp
remoteviewclient.h
selectionmodelclient.cpp
selectionmodelclient.h
tcpclientdevice.cpp
tcpclientdevice.h
toolmanagerclient.cpp
toolmanagerclient.h
${CMAKE_SOURCE_DIR}/resources/gammaray.qrc
)

Expand Down
82 changes: 60 additions & 22 deletions common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,50 @@ set_target_properties(gammaray_lz4 PROPERTIES POSITION_INDEPENDENT_CODE ON)
# Shared non-UI code between probe and client
#
set(gammaray_common_srcs
methodargument.cpp
objectbroker.cpp
protocol.cpp
message.cpp
classesiconsrepository.cpp
classesiconsrepository.h
commonutils.cpp
commonutils.h
endpoint.cpp
paths.cpp
propertysyncer.cpp
endpoint.h
enumdefinition.cpp
enumdefinition.h
enumrepository.cpp
enumrepository.h
enumvalue.cpp
enumvalue.h
message.cpp
message.h
methodargument.cpp
methodargument.h
modelevent.cpp
modelevent.h
modelutils.cpp
modelutils.h
objectbroker.cpp
objectbroker.h
objectidfilterproxymodel.cpp
objectidfilterproxymodel.h
paintanalyzerinterface.cpp
paintanalyzerinterface.h
paths.cpp
paths.h
propertysyncer.cpp
propertysyncer.h
protocol.cpp
protocol.h
remoteviewframe.cpp
remoteviewframe.h
remoteviewinterface.cpp
remoteviewinterface.h
selflocator.cpp
selflocator.h
sourcelocation.cpp
translator.cpp
enumdefinition.cpp
enumrepository.cpp
enumvalue.cpp
classesiconsrepository.cpp
remoteviewinterface.cpp
remoteviewframe.cpp
sourcelocation.h
transferimage.cpp
commonutils.cpp
transferimage.h
translator.cpp
translator.h
)

add_library(
Expand Down Expand Up @@ -86,22 +108,38 @@ if(GAMMARAY_USE_PCH)
endif()

set(gammaray_common_internal_srcs
favoriteobjectinterface.cpp
favoriteobjectinterface.h
networkselectionmodel.cpp
networkselectionmodel.h
plugininfo.cpp
plugininfo.h
pluginmanager.cpp
proxyfactorybase.cpp
propertycontrollerinterface.cpp
pluginmanager.h
probecontrollerinterface.cpp
toolmanagerinterface.cpp
networkselectionmodel.cpp
probecontrollerinterface.h
propertycontrollerinterface.cpp
propertycontrollerinterface.h
proxyfactorybase.cpp
proxyfactorybase.h
streamoperators.cpp
favoriteobjectinterface.cpp
tools/objectinspector/propertiesextensioninterface.cpp
tools/objectinspector/methodsextensioninterface.cpp
tools/objectinspector/connectionsextensioninterface.cpp
streamoperators.h
toolmanagerinterface.cpp
toolmanagerinterface.h
tools/messagehandler/messagehandlerinterface.cpp
tools/messagehandler/messagehandlerinterface.h
tools/metatypebrowser/metatypebrowserinterface.cpp
tools/metatypebrowser/metatypebrowserinterface.h
tools/objectinspector/connectionsextensioninterface.cpp
tools/objectinspector/connectionsextensioninterface.h
tools/objectinspector/methodsextensioninterface.cpp
tools/objectinspector/methodsextensioninterface.h
tools/objectinspector/propertiesextensioninterface.cpp
tools/objectinspector/propertiesextensioninterface.h
tools/problemreporter/problemreporterinterface.cpp
tools/problemreporter/problemreporterinterface.h
tools/resourcebrowser/resourcebrowserinterface.cpp
tools/resourcebrowser/resourcebrowserinterface.h
)

add_library(
Expand Down
Loading

0 comments on commit 8befe73

Please sign in to comment.