CMakeLists.txt 1.97 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

add_library(QmlControls
	AppMessages.cc
	CoordinateVector.cc
	EditPositionDialogController.cc
	ParameterEditorController.cc
	QGCFileDialogController.cc
	QGCGeoBoundingCube.cc
	QGCImageProvider.cc
	QGroundControlQmlGlobal.cc
	QmlObjectListModel.cc
	RCChannelMonitorController.cc
	ScreenToolsController.cc
)

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
add_custom_target(QmlControlsQml
	SOURCES
	APMSubMotorDisplay.qml	
	AppMessages.qml
	AxisMonitor.qml
	ClickableColor.qml
	DeadMouseArea.qml
	DropButton.qml
	DropPanel.qml
	EditPositionDialog.qml
	ExclusiveGroupItem.qml
	FactSliderPanel.qml
	FileButton.qml
	FlightModeDropdown.qml
	FlightModeMenu.qml
	HackAndroidFileDialog.qml
	HackFileDialog.qml
	IndicatorButton.qml
	JoystickThumbPad.qml
	LogReplayStatusBar.qml
	MAVLinkMessageButton.qml
	MissionCommandDialog.qml
	MissionItemIndexLabel.qml
	ModeSwitchDisplay.qml
	MultiRotorMotorDisplay.qml
	OfflineMapButton.qml
	PageView.qml
	ParameterEditor.qml
	ParameterEditorDialog.qml
	PIDTuning.qml
	PreFlightCheckButton.qml
	PreFlightCheckGroup.qml
	PreFlightCheckModel.qml
	QGCButton.qml
	QGCCheckBox.qml
	QGCColoredImage.qml
	QGCComboBox.qml
	QGCFileDialog.qml
	QGCFlickable.qml
	QGCFlickableHorizontalIndicator.qml
	QGCFlickableVerticalIndicator.qml
	QGCGroupBox.qml
	QGCHoverButton.qml
	QGCLabel.qml
	QGCListView.qml
	QGCMapLabel.qml
	QGCMenu.qml
	QGCMenuItem.qml
	QGCMenuSeparator.qml
	QGCMouseArea.qml
	QGCMovableItem.qml
	QGCPipable.qml
	QGCRadioButton.qml
	QGCSlider.qml
	QGCSwitch.qml
	QGCTabBar.qml
	QGCTabButton.qml
	QGCTextField.qml
	QGCToolBarButton.qml
	QGCViewDialog.qml
	QGCViewDialogContainer.qml
	QGCViewMessage.qml
	QmlTest.qml
	RCChannelMonitor.qml
	RoundButton.qml
	ScreenTools.qml
	SectionHeader.qml
	SliderSwitch.qml
	SubMenuButton.qml
	ToolStrip.qml
	VehicleRotationCal.qml
	VehicleSummaryRow.qml
)
89
target_link_libraries(QmlControls
Daniel Agar's avatar
Daniel Agar committed
90
        PUBLIC
91 92 93
		qgc

		FactSystem
94
	PUBLIC
95
		Qt5::Concurrent
96 97 98 99 100 101
		Qt5::Location
		Qt5::SerialPort
		Qt5::TextToSpeech
		Qt5::Widgets
)

102
target_include_directories(QmlControls INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
103