CMakeLists.txt 1.12 KB
Newer Older
1 2 3 4

set(EXTRA_SRC)
if(BUILD_TESTING)
	list(APPEND EXTRA_SRC
Daniel Agar's avatar
Daniel Agar committed
5 6 7 8 9 10 11 12 13 14
		FTPManagerTest.cc
		FTPManagerTest.h
		InitialConnectTest.cc
		InitialConnectTest.h
		RequestMessageTest.cc
		RequestMessageTest.h
		SendMavCommandWithHandlerTest.cc
		SendMavCommandWithHandlerTest.h
		SendMavCommandWithSignallingTest.cc
		SendMavCommandWithSignallingTest.h
15 16 17 18
	)
endif()

add_library(Vehicle
Daniel Agar's avatar
Daniel Agar committed
19 20 21 22 23 24 25 26 27 28
	CompInfo.cc
	CompInfo.h
	CompInfoParam.cc
	CompInfoParam.h
	CompInfoVersion.cc
	CompInfoVersion.h
	ComponentInformationManager.cc
	ComponentInformationManager.h
	FTPManager.cc
	FTPManager.h
29
	GPSRTKFactGroup.cc
Daniel Agar's avatar
Daniel Agar committed
30
	GPSRTKFactGroup.h
Daniel Agar's avatar
Daniel Agar committed
31 32
	InitialConnectStateMachine.cc
	InitialConnectStateMachine.h
33
	MAVLinkLogManager.cc
Daniel Agar's avatar
Daniel Agar committed
34
	MAVLinkLogManager.h
35
	MultiVehicleManager.cc
Daniel Agar's avatar
Daniel Agar committed
36
	MultiVehicleManager.h
Daniel Agar's avatar
Daniel Agar committed
37 38
	StateMachine.cc
	StateMachine.h
39 40 41 42
	TerrainFactGroup.cc
	TerrainFactGroup.h
	TerrainProtocolHandler.cc
	TerrainProtocolHandler.h
Daniel Agar's avatar
Daniel Agar committed
43 44
	TrajectoryPoints.cc
	TrajectoryPoints.h
45
	Vehicle.cc
Daniel Agar's avatar
Daniel Agar committed
46
	Vehicle.h
47
	VehicleObjectAvoidance.cc
Daniel Agar's avatar
Daniel Agar committed
48 49
	VehicleObjectAvoidance.h

50 51 52 53
	${EXTRA_SRC}
)

target_link_libraries(Vehicle
Tomaz Canabrava's avatar
Tomaz Canabrava committed
54 55
	PRIVATE
		ui
56 57 58 59
	PUBLIC
		qgc
)

60
target_include_directories(Vehicle INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})