CMakeLists.txt 728 Bytes
Newer Older
1 2 3

add_library(VehicleSetup
	Bootloader.cc
4
	Bootloader.h
5
	FirmwareImage.cc
6
	FirmwareImage.h
7
	FirmwareUpgradeController.cc
8
	FirmwareUpgradeController.h
9
	JoystickConfigController.cc
10
	JoystickConfigController.h
11
	PX4FirmwareUpgradeThread.cc
12
	PX4FirmwareUpgradeThread.h
13
	VehicleComponent.cc
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
	VehicleComponent.h
)

add_custom_target(VehicleSetupQml
	SOURCES
		FirmwareUpgrade.qml
		JoystickConfigAdvanced.qml
		JoystickConfigButtons.qml
		JoystickConfigCalibration.qml
		JoystickConfigGeneral.qml
		JoystickConfig.qml
		PX4FlowSensor.qml
		SetupParameterEditor.qml
		SetupView.qml
		VehicleSummary.qml
29 30 31 32 33 34 35
)

target_link_libraries(VehicleSetup
	PUBLIC
		qgc
)

36
target_include_directories(VehicleSetup INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})