CMakeLists.txt 359 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

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

add_library(Vehicle
	ADSBVehicle.cc
	GPSRTKFactGroup.cc
	MAVLinkLogManager.cc
	MultiVehicleManager.cc
	Vehicle.cc
	${EXTRA_SRC}
)

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

25
target_include_directories(Vehicle INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})