CMakeLists.txt 1.23 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 51 52

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
	QGCMAVLinkInspector.cc
	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
	QGCMAVLinkInspector.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
53
	PUBLIC
54
		qgc
Daniel Agar's avatar
Daniel Agar committed
55
	PRIVATE
56
		qwt
57 58 59 60 61
)

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