Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
8eaa3206
Commit
8eaa3206
authored
Oct 24, 2018
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake create Airmap and AirspaceManagement libraries
parent
e583e7aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
34 deletions
+56
-34
CMakeLists.txt
src/Airmap/CMakeLists.txt
+37
-0
CMakeLists.txt
src/AirspaceManagement/CMakeLists.txt
+14
-0
CMakeLists.txt
src/CMakeLists.txt
+5
-34
No files found.
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(
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
)
list
(
APPEND EXTRA_SRC
MobileScreenMgr.cc
...
...
@@ -215,8 +183,6 @@ set(QGC_RESOURCES)
list
(
APPEND QGC_RESOURCES
FirmwarePlugin/APM/APMResources.qrc
FirmwarePlugin/PX4/PX4Resources.qrc
Airmap/airmap.qrc
)
if
(
BUILD_TESTING
)
...
...
@@ -525,6 +491,9 @@ add_library(qgc
set_source_files_properties
(
QGCApplication.cc PROPERTIES COMPILE_DEFINITIONS GIT_VERSION=
"
${
git_tag
}
"
)
target_link_libraries
(
qgc
PUBLIC
Qt5::Bluetooth
Qt5::Concurrent
Qt5::Core
...
...
@@ -540,6 +509,7 @@ target_link_libraries(qgc
Qt5::Xml
Qt5::Widgets
Airmap
gps
qwt
# LinechartWidget
)
...
...
@@ -547,5 +517,6 @@ target_link_libraries(qgc
target_include_directories
(
qgc INTERFACE
${
CMAKE_CURRENT_SOURCE_DIR
}
)
add_subdirectory
(
AnalyzeView
)
add_subdirectory
(
Airmap
)
add_subdirectory
(
GPS
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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