CMakeLists.txt 516 Bytes
Newer Older
1 2
add_subdirectory(preferences)
add_subdirectory(toolbar)
3 4 5 6

add_library(ui

	MAVLinkDecoder.cc
7 8
	MAVLinkDecoder.h
	QGCMapRCToParamDialog.h
9
	QGCPluginHost.cc
10
	QGCPluginHost.h
11 12 13 14 15 16 17

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

18
add_custom_target(uiQml
19 20 21 22
	SOURCES
		AppSettings.qml
		ExitWithErrorWindow.qml
		MainRootWindow.qml
23 24
)

25
target_link_libraries(ui
Daniel Agar's avatar
Daniel Agar committed
26
	PUBLIC
27 28 29 30 31 32
		qgc
)

target_include_directories(ui
	INTERFACE
		${CMAKE_CURRENT_SOURCE_DIR}
Daniel Agar's avatar
Daniel Agar committed
33
                ${CMAKE_CURRENT_BINARY_DIR}
34 35
	PRIVATE
		linechart
36
)