CMakeLists.txt 628 Bytes
Newer Older
1
add_subdirectory(APM)
2 3

add_library(FirmwarePlugin
Daniel Agar's avatar
Daniel Agar committed
4 5 6 7
	CameraMetaData.cc
	FirmwarePlugin.cc
	FirmwarePluginManager.cc

8 9 10 11 12 13 14
	APM/APMFirmwarePlugin.cc
	APM/APMFirmwarePluginFactory.cc
	APM/APMParameterMetaData.cc
	APM/ArduCopterFirmwarePlugin.cc
	APM/ArduPlaneFirmwarePlugin.cc
	APM/ArduRoverFirmwarePlugin.cc
	APM/ArduSubFirmwarePlugin.cc
Daniel Agar's avatar
Daniel Agar committed
15
	APM/APMResources.qrc
16 17 18 19 20 21 22 23

	PX4/PX4FirmwarePlugin.cc
	PX4/PX4FirmwarePluginFactory.cc
	PX4/PX4ParameterMetaData.cc
	PX4/PX4Resources.qrc
)

target_link_libraries(FirmwarePlugin
Daniel Agar's avatar
Daniel Agar committed
24
	PRIVATE
25 26 27 28
		qgc
)

target_include_directories(FirmwarePlugin
Daniel Agar's avatar
Daniel Agar committed
29
	INTERFACE
30
		${CMAKE_CURRENT_SOURCE_DIR}
Daniel Agar's avatar
Daniel Agar committed
31
                APM
32 33
	)