CMakeLists.txt 407 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13

set(EXTRA_SRC)
if(BUILD_TESTING)
	list(APPEND EXTRA_SRC
		SendMavCommandTest.cc
	)
endif()

add_library(Vehicle
	ADSBVehicle.cc
	GPSRTKFactGroup.cc
	MAVLinkLogManager.cc
	MultiVehicleManager.cc
14
	TrajectoryPoints.cc
15
	Vehicle.cc
16
	VehicleObjectAvoidance.cc
17 18 19 20
	${EXTRA_SRC}
)

target_link_libraries(Vehicle
Tomaz Canabrava's avatar
Tomaz Canabrava committed
21 22
	PRIVATE
		ui
23 24 25 26
	PUBLIC
		qgc
)

27
target_include_directories(Vehicle INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})