CMakeLists.txt 680 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11

set(EXTRA_SRC)
if(BUILD_TESTING)
	list(APPEND EXTRA_SRC
		LogDownloadTest.cc
	)
endif()

add_library(AnalyzeView
	ExifParser.cc
	GeoTagController.cc
12
	MAVLinkInspectorController.cc
13 14 15 16 17 18 19
	LogDownloadController.cc
	MavlinkConsoleController.cc
	PX4LogParser.cc
	ULogParser.cc
	${EXTRA_SRC}
)

20 21 22 23 24 25 26 27
add_custom_target(AnalyzeViewQml
	SOURCES
		AnalyzePage.qml
		AnalyzeView.qml
		GeoTagPage.qml
		LogDownloadPage.qml
		MavlinkConsolePage.qml
		MAVLinkInspectorPage.qml
28 29
)

30
target_link_libraries(AnalyzeView
31 32 33
	PRIVATE
		qgc

34
	PUBLIC
35
		Qt5::Charts
36 37 38 39 40 41
		Qt5::Location
		Qt5::SerialPort
		Qt5::TextToSpeech
		Qt5::Widgets
)

42
target_include_directories(AnalyzeView INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
43