CMakeLists.txt 535 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
	Vehicle.cc
Daniel Agar's avatar
Daniel Agar committed
20
	Vehicle.h
21
	VehicleObjectAvoidance.cc
Daniel Agar's avatar
Daniel Agar committed
22 23
	VehicleObjectAvoidance.h

24 25 26 27
	${EXTRA_SRC}
)

target_link_libraries(Vehicle
Tomaz Canabrava's avatar
Tomaz Canabrava committed
28 29
	PRIVATE
		ui
30 31 32 33
	PUBLIC
		qgc
)

34
target_include_directories(Vehicle INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})