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
b97df159
Commit
b97df159
authored
Oct 24, 2018
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake create gps library in src/GPS
parent
9f51ed83
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
13 deletions
+32
-13
CMakeLists.txt
CMakeLists.txt
+6
-13
CMakeLists.txt
src/CMakeLists.txt
+3
-0
CMakeLists.txt
src/GPS/CMakeLists.txt
+23
-0
No files found.
CMakeLists.txt
View file @
b97df159
...
...
@@ -362,15 +362,6 @@ list(APPEND QGC_SRC
src/FollowMe/FollowMe.cc
src/GPS/Drivers/src/ashtech.cpp
src/GPS/Drivers/src/gps_helper.cpp
src/GPS/Drivers/src/mtk.cpp
src/GPS/Drivers/src/rtcm.cpp
src/GPS/Drivers/src/ubx.cpp
src/GPS/GPSManager.cc
src/GPS/GPSProvider.cc
src/GPS/RTCM/RTCMMavlink.cc
src/Joystick/Joystick.cc
src/Joystick/JoystickManager.cc
src/Joystick/JoystickSDL.cc
...
...
@@ -754,9 +745,6 @@ list(APPEND QGC_UI
include_directories
(
src/QtLocationPlugin/QMLControl
#src/QtLocationPlugin/qtlocation/include/QtLocation
#src/QtLocationPlugin/qtlocation/include/QtLocation/5.5.1
#src/QtLocationPlugin/qtlocation/include/QtPositioning/5.5.1
${
Qt5Location_PRIVATE_INCLUDE_DIRS
}
libs/eigen
...
...
@@ -785,7 +773,6 @@ include_directories(
src/FlightDisplay
src/FlightMap/Widgets
src/FollowMe
src/GPS
src/Joystick
src/MissionManager
src/PositionManager
...
...
@@ -803,6 +790,8 @@ include_directories(
src/ViewWidgets
)
add_subdirectory
(
src
)
if
(
ANDROID
)
add_library
(
QGroundControl SHARED
${
QGC_SRC
}
${
QGC_RESOURCES
}
${
QGC_UI
}
)
else
()
...
...
@@ -825,6 +814,10 @@ target_link_libraries(QGroundControl
Qt5::Xml
Qt5::Widgets
)
target_link_libraries
(
QGroundControl
gps
)
if
(
NOT QT_MKSPEC MATCHES
"winrt"
)
target_link_libraries
(
QGroundControl
...
...
src/CMakeLists.txt
0 → 100644
View file @
b97df159
add_subdirectory
(
GPS
)
src/GPS/CMakeLists.txt
0 → 100644
View file @
b97df159
add_library
(
gps
Drivers/src/ashtech.cpp
Drivers/src/gps_helper.cpp
Drivers/src/mtk.cpp
Drivers/src/rtcm.cpp
Drivers/src/ubx.cpp
GPSManager.cc
GPSProvider.cc
RTCM/RTCMMavlink.cc
)
target_link_libraries
(
gps
Qt5::Core
Qt5::Location
Qt5::SerialPort
Qt5::Svg
Qt5::TextToSpeech
)
target_include_directories
(
gps INTERFACE
${
CMAKE_CURRENT_SOURCE_DIR
}
)
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