Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
8eaa3206
Commit
8eaa3206
authored
Oct 24, 2018
by
Daniel Agar
Browse files
cmake create Airmap and AirspaceManagement libraries
parent
e583e7aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/Airmap/CMakeLists.txt
0 → 100644
View file @
8eaa3206
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
)
target_include_directories
(
AnalyzeView INTERFACE
${
CMAKE_CURRENT_SOURCE_DIR
}
)
src/AirspaceManagement/CMakeLists.txt
0 → 100644
View file @
8eaa3206
if
(
QGC_AIRMAP
)
add_library
(
AirspaceManagement
AirspaceManagement/AirspaceAdvisoryProvider.cc
AirspaceManagement/AirspaceFlightPlanProvider.cc
AirspaceManagement/AirspaceManager.cc
AirspaceManagement/AirspaceRestriction.cc
AirspaceManagement/AirspaceRestrictionProvider.cc
AirspaceManagement/AirspaceRulesetsProvider.cc
AirspaceManagement/AirspaceVehicleManager.cc
AirspaceManagement/AirspaceWeatherInfoProvider.cc
)
endif
()
src/CMakeLists.txt
View file @
8eaa3206
...
@@ -42,38 +42,6 @@ include_directories(
...
@@ -42,38 +42,6 @@ include_directories(
set
(
EXTRA_SRC
)
set
(
EXTRA_SRC
)
if
(
QGC_AIRMAP
)
list
(
APPEND EXTRA_SRC
Airmap/AirMapAdvisoryManager.cc
Airmap/AirMapFlightManager.cc
Airmap/AirMapFlightPlanManager.cc
Airmap/AirMapManager.cc
Airmap/AirMapRestrictionManager.cc
Airmap/AirMapRulesetsManager.cc
Airmap/AirMapSettings.cc
Airmap/AirMapSharedState.cc
Airmap/AirMapTelemetry.cc
Airmap/AirMapTrafficMonitor.cc
Airmap/AirMapVehicleManager.cc
Airmap/AirMapWeatherInfoManager.cc
AirspaceManagement/AirspaceAdvisoryProvider.cc
AirspaceManagement/AirspaceFlightPlanProvider.cc
AirspaceManagement/AirspaceManager.cc
AirspaceManagement/AirspaceRestriction.cc
AirspaceManagement/AirspaceRestrictionProvider.cc
AirspaceManagement/AirspaceRulesetsProvider.cc
AirspaceManagement/AirspaceVehicleManager.cc
AirspaceManagement/AirspaceWeatherInfoProvider.cc
)
else
()
list
(
APPEND EXTRA_SRC
Airmap/dummy/AirspaceManager.cc
)
include_directories
(
Airmap/dummy
)
endif
()
if
(
MOBILE
)
if
(
MOBILE
)
list
(
APPEND EXTRA_SRC
list
(
APPEND EXTRA_SRC
MobileScreenMgr.cc
MobileScreenMgr.cc
...
@@ -215,8 +183,6 @@ set(QGC_RESOURCES)
...
@@ -215,8 +183,6 @@ set(QGC_RESOURCES)
list
(
APPEND QGC_RESOURCES
list
(
APPEND QGC_RESOURCES
FirmwarePlugin/APM/APMResources.qrc
FirmwarePlugin/APM/APMResources.qrc
FirmwarePlugin/PX4/PX4Resources.qrc
FirmwarePlugin/PX4/PX4Resources.qrc
Airmap/airmap.qrc
)
)
if
(
BUILD_TESTING
)
if
(
BUILD_TESTING
)
...
@@ -525,6 +491,9 @@ add_library(qgc
...
@@ -525,6 +491,9 @@ add_library(qgc
set_source_files_properties
(
QGCApplication.cc PROPERTIES COMPILE_DEFINITIONS GIT_VERSION=
"
${
git_tag
}
"
)
set_source_files_properties
(
QGCApplication.cc PROPERTIES COMPILE_DEFINITIONS GIT_VERSION=
"
${
git_tag
}
"
)
target_link_libraries
(
qgc
target_link_libraries
(
qgc
PUBLIC
Qt5::Bluetooth
Qt5::Bluetooth
Qt5::Concurrent
Qt5::Concurrent
Qt5::Core
Qt5::Core
...
@@ -540,6 +509,7 @@ target_link_libraries(qgc
...
@@ -540,6 +509,7 @@ target_link_libraries(qgc
Qt5::Xml
Qt5::Xml
Qt5::Widgets
Qt5::Widgets
Airmap
gps
gps
qwt
# LinechartWidget
qwt
# LinechartWidget
)
)
...
@@ -547,5 +517,6 @@ target_link_libraries(qgc
...
@@ -547,5 +517,6 @@ target_link_libraries(qgc
target_include_directories
(
qgc INTERFACE
${
CMAKE_CURRENT_SOURCE_DIR
}
)
target_include_directories
(
qgc INTERFACE
${
CMAKE_CURRENT_SOURCE_DIR
}
)
add_subdirectory
(
AnalyzeView
)
add_subdirectory
(
AnalyzeView
)
add_subdirectory
(
Airmap
)
add_subdirectory
(
GPS
)
add_subdirectory
(
GPS
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment