CMakeLists.txt 868 Bytes
Newer Older
1 2 3 4 5

set(EXTRA_SRC)
if(BUILD_TESTING)
	list(APPEND EXTRA_SRC
		LogDownloadTest.cc
6
		LogDownloadTest.h
7 8 9 10 11
	)
endif()

add_library(AnalyzeView
	ExifParser.cc
12
	ExifParser.h
13
	GeoTagController.cc
14
	GeoTagController.h
15
	LogDownloadController.cc
16
	LogDownloadController.h
17
	MavlinkConsoleController.cc
18 19 20
	MavlinkConsoleController.h
	MAVLinkInspectorController.cc
	MAVLinkInspectorController.h
21
	PX4LogParser.cc
22
	PX4LogParser.h
23
	ULogParser.cc
24 25
	ULogParser.h

26 27 28
	${EXTRA_SRC}
)

29 30 31 32 33 34 35 36 37 38 39
add_custom_target(AnalyzeViewQml
	SOURCES
		AnalyzePage.qml
		AnalyzeView.qml
		GeoTagPage.qml
		LogDownloadPage.qml
		MavlinkConsolePage.qml
		MAVLinkInspectorPage.qml
		VibrationPage.qml
)

40
target_link_libraries(AnalyzeView
41 42 43
	PRIVATE
		qgc

44
	PUBLIC
45
		Qt5::Charts
46 47 48 49 50 51
		Qt5::Location
		Qt5::SerialPort
		Qt5::TextToSpeech
		Qt5::Widgets
)

52
target_include_directories(AnalyzeView INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
53