CMakeLists.txt 3.16 KB
Newer Older
1 2 3

add_library(QmlControls
	AppMessages.cc
4
	AppMessages.h
5
	EditPositionDialogController.cc
6
	EditPositionDialogController.h
7 8
	FactValueGrid.cc
	FactValueGrid.h
9 10
	FlightPathSegment.cc
	FlightPathSegment.h
11 12
	HorizontalFactValueGrid.cc
	HorizontalFactValueGrid.h
13 14
	InstrumentValueData.cc
	InstrumentValueData.h
15
	ParameterEditorController.cc
16
	ParameterEditorController.h
17
	QGCFileDialogController.cc
18
	QGCFileDialogController.h
19
	QGCGeoBoundingCube.cc
20
	QGCGeoBoundingCube.h
21
	QGCImageProvider.cc
22
	QGCImageProvider.h
23
	QGroundControlQmlGlobal.cc
24
	QGroundControlQmlGlobal.h
25
	QmlObjectListModel.cc
26 27
	QmlObjectListModel.h
	QmlUnitsConversion.h
28
	RCChannelMonitorController.cc
29 30 31
	RCChannelMonitorController.h
	RCToParamDialogController.cc
	RCToParamDialogController.h
32
	ScreenToolsController.cc
33 34 35
	ScreenToolsController.h
	TerrainProfile.cc
	TerrainProfile.h
36 37 38 39 40 41
	ToolStripAction.cc
	ToolStripAction.h
	ToolStripActionList.cc
	ToolStripActionList.h
	VerticalFactValueGrid.cc
	VerticalFactValueGrid.h
42 43
)

44 45
add_custom_target(QmlControlsQml
	SOURCES
46
		APMSubMotorDisplay.qml
47 48 49 50 51 52 53 54 55 56 57 58 59 60
		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
61 62
		HeightIndicator.qml
		HorizontalFactValueGrid.qml
63
		IndicatorButton.qml
64 65 66 67
		InstrumentValueArea.qml
		InstrumentValueEditDialog.qml
		InstrumentValueLabel.qml
		InstrumentValueValue.qml
68
		JoystickThumbPad.qml
69
		KMLOrSHPFileDialog.qml
70
		LogReplayStatusBar.qml
71 72
		MainWindowSavedState.qml
		MAVLinkChart.qml
73 74 75 76 77 78 79 80
		MAVLinkMessageButton.qml
		MissionCommandDialog.qml
		MissionItemIndexLabel.qml
		ModeSwitchDisplay.qml
		MultiRotorMotorDisplay.qml
		OfflineMapButton.qml
		PageView.qml
		ParameterEditorDialog.qml
81
		ParameterEditor.qml
82 83 84
		PIDTuning.qml
		PreFlightCheckButton.qml
		PreFlightCheckGroup.qml
85
		PreFlightCheckList.qml
86 87 88 89 90
		PreFlightCheckModel.qml
		QGCButton.qml
		QGCCheckBox.qml
		QGCColoredImage.qml
		QGCComboBox.qml
91 92
		QGCControlDebug.qml
		QGCDynamicObjectManager.qml
93 94
		QGCFileDialog.qml
		QGCFlickableHorizontalIndicator.qml
95
		QGCFlickable.qml
96 97 98 99 100 101 102
		QGCFlickableVerticalIndicator.qml
		QGCGroupBox.qml
		QGCHoverButton.qml
		QGCLabel.qml
		QGCListView.qml
		QGCMapLabel.qml
		QGCMenuItem.qml
103
		QGCMenu.qml
104 105 106
		QGCMenuSeparator.qml
		QGCMouseArea.qml
		QGCMovableItem.qml
107 108 109 110 111
		QGCOptionsComboBox.qml
		QGCPipOverlay.qml
		QGCPipState.qml
		QGCPopupDialogContainer.qml
		QGCPopupDialog.qml
112 113 114 115 116 117 118
		QGCRadioButton.qml
		QGCSlider.qml
		QGCSwitch.qml
		QGCTabBar.qml
		QGCTabButton.qml
		QGCTextField.qml
		QGCToolBarButton.qml
119
		QGCToolInsets.qml
120
		QGCViewDialogContainer.qml
121
		QGCViewDialog.qml
122 123 124
		QGCViewMessage.qml
		QmlTest.qml
		RCChannelMonitor.qml
125
		RCToParamDialog.qml
126 127 128 129 130 131 132 133
		RoundButton.qml
		ScreenTools.qml
		SectionHeader.qml
		SliderSwitch.qml
		SubMenuButton.qml
		ToolStrip.qml
		VehicleRotationCal.qml
		VehicleSummaryRow.qml
134
		VerticalFactValueGrid.qml
135
)
136
target_link_libraries(QmlControls
Daniel Agar's avatar
Daniel Agar committed
137
        PUBLIC
138 139 140
		qgc

		FactSystem
141
	PUBLIC
142
		Qt5::Concurrent
143 144 145 146 147 148
		Qt5::Location
		Qt5::SerialPort
		Qt5::TextToSpeech
		Qt5::Widgets
)

149
target_include_directories(QmlControls INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
150