CMakeLists.txt 3.07 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
	ToolStripAction.cc
	ToolStripAction.h
	ToolStripActionList.cc
	ToolStripActionList.h
40 41
)

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

		FactSystem
137
	PUBLIC
138
		Qt5::Concurrent
139 140 141 142 143 144
		Qt5::Location
		Qt5::SerialPort
		Qt5::TextToSpeech
		Qt5::Widgets
)

145
target_include_directories(QmlControls INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
146