CMakeLists.txt 629 Bytes
Newer Older
1 2 3 4 5

set(EXTRA_SRC)
if(BUILD_TESTING)
	list(APPEND EXTRA_SRC
		SendMavCommandTest.cc
Daniel Agar's avatar
Daniel Agar committed
6
		SendMavCommandTest.h
7 8 9 10 11
	)
endif()

add_library(Vehicle
	GPSRTKFactGroup.cc
Daniel Agar's avatar
Daniel Agar committed
12
	GPSRTKFactGroup.h
13
	MAVLinkLogManager.cc
Daniel Agar's avatar
Daniel Agar committed
14
	MAVLinkLogManager.h
15
	MultiVehicleManager.cc
Daniel Agar's avatar
Daniel Agar committed
16
	MultiVehicleManager.h
17
	TrajectoryPoints.cc
Daniel Agar's avatar
Daniel Agar committed
18
	TrajectoryPoints.h
19 20 21 22
	TerrainFactGroup.cc
	TerrainFactGroup.h
	TerrainProtocolHandler.cc
	TerrainProtocolHandler.h
23
	Vehicle.cc
Daniel Agar's avatar
Daniel Agar committed
24
	Vehicle.h
25
	VehicleObjectAvoidance.cc
Daniel Agar's avatar
Daniel Agar committed
26 27
	VehicleObjectAvoidance.h

28 29 30 31
	${EXTRA_SRC}
)

target_link_libraries(Vehicle
Tomaz Canabrava's avatar
Tomaz Canabrava committed
32 33
	PRIVATE
		ui
34 35 36 37
	PUBLIC
		qgc
)

38
target_include_directories(Vehicle INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})