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

add_library(VehicleSetup
	Bootloader.cc
	FirmwareImage.cc
	FirmwareUpgradeController.cc
	JoystickConfigController.cc
	PX4FirmwareUpgradeThread.cc
	VehicleComponent.cc
)

11 12 13 14 15 16 17 18 19 20 21 22 23 24
add_custom_target(VehicleSetupQml
SOURCES
	JoystickConfigCalibration.qml
	JoystickConfigGeneral.qml
	SetupParameterEditor.qml
	VehicleSummary.qml
	JoystickConfigButtons.qml
	PX4FlowSensor.qml
	FirmwareUpgrade.qml
	JoystickConfig.qml
	JoystickConfigAdvanced.qml
	SetupView.qml
)

25 26 27 28 29
target_link_libraries(VehicleSetup
	PUBLIC
		qgc
)

30
target_include_directories(VehicleSetup INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})