Commit 73ecb506 authored by Daniel Agar's avatar Daniel Agar

cmake fixes

parent 0783e815
......@@ -119,6 +119,8 @@ add_library(qgc
QGCTemporaryFile.h
QGCToolbox.cc
QGCToolbox.h
QGCZlib.cc
QGCZlib.h
RunGuard.cc
RunGuard.h
ShapeFileHelper.cc
......@@ -168,6 +170,7 @@ target_link_libraries(qgc
PRIVATE
shp
Qt5::QuickControls2
z # zlib
PUBLIC
Qt5::QuickWidgets
......
......@@ -2,24 +2,46 @@
set(EXTRA_SRC)
if(BUILD_TESTING)
list(APPEND EXTRA_SRC
SendMavCommandTest.cc
SendMavCommandTest.h
FTPManagerTest.cc
FTPManagerTest.h
InitialConnectTest.cc
InitialConnectTest.h
RequestMessageTest.cc
RequestMessageTest.h
SendMavCommandWithHandlerTest.cc
SendMavCommandWithHandlerTest.h
SendMavCommandWithSignallingTest.cc
SendMavCommandWithSignallingTest.h
)
endif()
add_library(Vehicle
CompInfo.cc
CompInfo.h
CompInfoParam.cc
CompInfoParam.h
CompInfoVersion.cc
CompInfoVersion.h
ComponentInformationManager.cc
ComponentInformationManager.h
FTPManager.cc
FTPManager.h
GPSRTKFactGroup.cc
GPSRTKFactGroup.h
InitialConnectStateMachine.cc
InitialConnectStateMachine.h
MAVLinkLogManager.cc
MAVLinkLogManager.h
MultiVehicleManager.cc
MultiVehicleManager.h
TrajectoryPoints.cc
TrajectoryPoints.h
StateMachine.cc
StateMachine.h
TerrainFactGroup.cc
TerrainFactGroup.h
TerrainProtocolHandler.cc
TerrainProtocolHandler.h
TrajectoryPoints.cc
TrajectoryPoints.h
Vehicle.cc
Vehicle.h
VehicleObjectAvoidance.cc
......
......@@ -3,25 +3,41 @@ set(EXTRA_SRC)
if(BUILD_TESTING)
list(APPEND EXTRA_SRC
MockLink.cc
MockLinkFileServer.cc
MockLink.h
MockLinkFTP.cc
MockLinkFTP.h
MockLinkMissionItemHandler.cc
MockLinkMissionItemHandler.h
)
endif()
add_library(comm
#BluetoothLink.cc
#BluetoothLink.h
LinkConfiguration.cc
LinkConfiguration.h
LinkInterface.cc
LinkInterface.h
LinkManager.cc
LinkManager.h
LogReplayLink.cc
LogReplayLink.h
MavlinkMessagesTimer.cc
MavlinkMessagesTimer.h
MAVLinkProtocol.cc
MAVLinkProtocol.h
QGCMAVLink.cc
QGCMAVLink.h
QGCSerialPortInfo.cc
QGCSerialPortInfo.h
SerialLink.cc
SerialLink.h
TCPLink.cc
UDPLink.cc
TCPLink.h
UdpIODevice.cc
UdpIODevice.h
UDPLink.cc
UDPLink.h
${EXTRA_SRC}
)
......
add_library(uas
FileManager.cc
UAS.cc
UASMessageHandler.cc
# HEADERS
# shouldn't be listed here, but aren't named properly for AUTOMOC
UAS.h
UASInterface.h
UASMessageHandler.cc
UASMessageHandler.h
)
target_link_libraries(uas
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment