CMakeLists.txt 673 Bytes
Newer Older
1 2
add_subdirectory(preferences)
add_subdirectory(toolbar)
3 4 5 6 7 8 9 10 11

add_library(ui

	MAVLinkDecoder.cc
	MultiVehicleDockWidget.cc
	QGCPluginHost.cc

	# HEADERS
	# shouldn't be listed here, but aren't named properly for AUTOMOC
12 13 14 15
	MAVLinkDecoder.h
	MultiVehicleDockWidget.h
	QGCMapRCToParamDialog.h
	QGCPluginHost.h
16 17 18 19 20 21 22 23

	# UI
	MultiVehicleDockWidget.ui
	QGCMapRCToParamDialog.ui
	QGCPluginHost.ui
	QMap3D.ui
)

24 25 26 27 28 29 30
add_custom_target(uiQml
SOURCES
	AppSettings.qml
	ExitWithErrorWindow.qml
	MainRootWindow.qml
)

31
target_link_libraries(ui
Daniel Agar's avatar
Daniel Agar committed
32
	PUBLIC
33 34 35 36 37 38
		qgc
)

target_include_directories(ui
	INTERFACE
		${CMAKE_CURRENT_SOURCE_DIR}
Daniel Agar's avatar
Daniel Agar committed
39
                ${CMAKE_CURRENT_BINARY_DIR}
40 41 42 43
	PRIVATE
		linechart
	)