CMakeLists.txt 1.18 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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

add_library(ui

	HILDockWidget.cc
	linechart/ChartPlot.cc
	linechart/IncrementalPlot.cc
	linechart/LinechartPlot.cc
	linechart/Linecharts.cc
	linechart/LinechartWidget.cc
	linechart/Scrollbar.cc
	linechart/ScrollZoomer.cc

	MainWindow.cc
	MAVLinkDecoder.cc
	MultiVehicleDockWidget.cc
	QGCHilConfiguration.cc
	QGCHilFlightGearConfiguration.cc
	QGCHilJSBSimConfiguration.cc
	QGCHilXPlaneConfiguration.cc
	QGCMapRCToParamDialog.cpp
	QGCMAVLinkLogPlayer.cc
	QGCPluginHost.cc
	QGCUASFileView.cc
	QGCUASFileViewMulti.cc

	uas/QGCUnconnectedInfoWidget.cc

	# HEADERS
	# shouldn't be listed here, but aren't named properly for AUTOMOC
	QGCHilFlightGearConfiguration.h
	QGCHilJSBSimConfiguration.h

	# UI
	MainWindow.ui
	MultiVehicleDockWidget.ui
	QGCHilConfiguration.ui
	QGCHilFlightGearConfiguration.ui
	QGCHilJSBSimConfiguration.ui
	QGCHilXPlaneConfiguration.ui
	QGCMapRCToParamDialog.ui
	QGCMAVLinkLogPlayer.ui
	QGCPluginHost.ui
	QGCUASFileView.ui
	QGCUASFileViewMulti.ui
	QMap3D.ui

	uas/QGCUnconnectedInfoWidget.ui
)

target_link_libraries(ui
Daniel Agar's avatar
Daniel Agar committed
51
	PUBLIC
52
		qgc
Daniel Agar's avatar
Daniel Agar committed
53
	PRIVATE
54
		qwt
55 56 57 58 59
)

target_include_directories(ui
	INTERFACE
		${CMAKE_CURRENT_SOURCE_DIR}
Daniel Agar's avatar
Daniel Agar committed
60
                ${CMAKE_CURRENT_BINARY_DIR}
61 62 63 64
	PRIVATE
		linechart
	)