CMakeLists.txt 637 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

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
	)
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
)

36
target_include_directories(Airmap INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
37