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 58
		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
59 60
		HeightIndicator.qml
		HorizontalFactValueGrid.qml
61
		IndicatorButton.qml
62 63 64 65
		InstrumentValueArea.qml
		InstrumentValueEditDialog.qml
		InstrumentValueLabel.qml
		InstrumentValueValue.qml
66
		JoystickThumbPad.qml
67
		KMLOrSHPFileDialog.qml
68
		LogReplayStatusBar.qml
69 70
		MainWindowSavedState.qml
		MAVLinkChart.qml
71 72 73 74 75 76
		MAVLinkMessageButton.qml
		MissionCommandDialog.qml
		MissionItemIndexLabel.qml
		ModeSwitchDisplay.qml
		MultiRotorMotorDisplay.qml
		OfflineMapButton.qml
77
		ParameterEditor.qml
Daniel Agar's avatar
Daniel Agar committed
78
		ParameterEditorDialog.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
91
		QGCFlickable.qml
Daniel Agar's avatar
Daniel Agar committed
92
		QGCFlickableHorizontalIndicator.qml
93 94 95 96 97 98
		QGCFlickableVerticalIndicator.qml
		QGCGroupBox.qml
		QGCHoverButton.qml
		QGCLabel.qml
		QGCListView.qml
		QGCMapLabel.qml
99
		QGCMenu.qml
Daniel Agar's avatar
Daniel Agar committed
100
		QGCMenuItem.qml
101 102 103
		QGCMenuSeparator.qml
		QGCMouseArea.qml
		QGCMovableItem.qml
104 105 106 107
		QGCOptionsComboBox.qml
		QGCPipOverlay.qml
		QGCPipState.qml
		QGCPopupDialog.qml
Daniel Agar's avatar
Daniel Agar committed
108
		QGCPopupDialogContainer.qml
109 110 111 112 113 114 115
		QGCRadioButton.qml
		QGCSlider.qml
		QGCSwitch.qml
		QGCTabBar.qml
		QGCTabButton.qml
		QGCTextField.qml
		QGCToolBarButton.qml
116 117
		QGCToolInsets.qml
		QGCViewDialog.qml
Daniel Agar's avatar
Daniel Agar committed
118
		QGCViewDialogContainer.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