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

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

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

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

26
target_include_directories(Vehicle INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})