CMakeLists.txt 868 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

if(QGC_AIRMAP)

	add_library(Airmap
		AirMapAdvisoryManager.cc
		AirMapFlightManager.cc
		AirMapFlightPlanManager.cc
		AirMapManager.cc
		AirMapRestrictionManager.cc
		AirMapRulesetsManager.cc
		AirMapSettings.cc
		AirMapSharedState.cc
		AirMapTelemetry.cc
		AirMapTrafficMonitor.cc
		AirMapVehicleManager.cc
		AirMapWeatherInfoManager.cc

		airmap.qrc
	)
20
21
22
23
24
25
26
27
28
29
30
31
	add_custom_target(AirmapQml
		SOURCES
		AirmapSettings.qml
		AirspaceRegulation.qml
		ComplianceRules.qml
		FlightDetails.qml
		RuleSelector.qml
		AirspaceControl.qml
		AirspaceWeather.qml
		FlightBrief.qml
		FlightFeature.qml
	)
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
else()
	add_library(Airmap
		dummy/AirspaceManager.cc
		airmap.qrc
	)
	target_include_directories(Airmap PUBLIC dummy)
endif()

target_link_libraries(Airmap
	Qt5::Core
	Qt5::Location
	Qt5::Widgets

	qgc
)

48
target_include_directories(Airmap INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
49