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
d8b6f37e
Commit
d8b6f37e
authored
Oct 25, 2018
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake create comm library in src/comm
parent
08684db3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
24 deletions
+50
-24
CMakeLists.txt
src/CMakeLists.txt
+2
-24
CMakeLists.txt
src/comm/CMakeLists.txt
+48
-0
No files found.
src/CMakeLists.txt
View file @
d8b6f37e
...
...
@@ -8,7 +8,6 @@ include_directories(
${
Qt5Location_PRIVATE_INCLUDE_DIRS
}
Camera
comm
FactSystem
FactSystem/FactControls
FirmwarePlugin
...
...
@@ -66,10 +65,6 @@ if(BUILD_TESTING)
list
(
APPEND QGC_SRC
comm/MockLink.cc
comm/MockLinkFileServer.cc
comm/MockLinkMissionItemHandler.cc
FactSystem/FactSystemTestBase.cc
FactSystem/FactSystemTestGeneric.cc
FactSystem/FactSystemTestPX4.cc
...
...
@@ -177,22 +172,6 @@ add_library(qgc
Camera/QGCCameraIO.cc
Camera/QGCCameraManager.cc
#src/comm/BluetoothLink.cc
comm/LinkConfiguration.cc
comm/LinkInterface.cc
comm/LinkManager.cc
comm/LogReplayLink.cc
comm/MavlinkMessagesTimer.cc
comm/MAVLinkProtocol.cc
comm/QGCFlightGearLink.cc
comm/QGCJSBSimLink.cc
comm/QGCMAVLink.cc
comm/QGCSerialPortInfo.cc
comm/QGCXPlaneLink.cc
comm/SerialLink.cc
comm/TCPLink.cc
comm/UDPLink.cc
FactSystem/Fact.cc
FactSystem/FactControls/FactPanelController.cc
FactSystem/FactGroup.cc
...
...
@@ -321,9 +300,6 @@ add_library(qgc
# HEADERS
# shouldn't be listed here, but aren't named properly for AUTOMOC
comm/QGCFlightGearLink.h
comm/QGCHilLink.h
comm/QGCJSBSimLink.h
QtLocationPlugin/QGCMapEngineData.h
uas/UAS.h
uas/UASInterface.h
...
...
@@ -339,6 +315,7 @@ add_subdirectory(Airmap)
add_subdirectory
(
api
)
add_subdirectory
(
Audio
)
add_subdirectory
(
AutoPilotPlugins
)
add_subdirectory
(
comm
)
add_subdirectory
(
GPS
)
add_subdirectory
(
MissionManager
)
...
...
@@ -367,6 +344,7 @@ target_link_libraries(qgc
api
Audio
AutoPilotPlugins
comm
gps
qwt
# LinechartWidget
MissionManager
...
...
src/comm/CMakeLists.txt
0 → 100644
View file @
d8b6f37e
set
(
EXTRA_SRC
)
if
(
BUILD_TESTING
)
list
(
APPEND EXTRA_SRC
MockLink.cc
MockLinkFileServer.cc
MockLinkMissionItemHandler.cc
)
endif
()
add_library
(
comm
#BluetoothLink.cc
LinkConfiguration.cc
LinkInterface.cc
LinkManager.cc
LogReplayLink.cc
MavlinkMessagesTimer.cc
MAVLinkProtocol.cc
QGCFlightGearLink.cc
QGCJSBSimLink.cc
QGCMAVLink.cc
QGCSerialPortInfo.cc
QGCXPlaneLink.cc
SerialLink.cc
TCPLink.cc
UDPLink.cc
${
EXTRA_SRC
}
# HEADERS
# shouldn't be listed here, but aren't named properly for AUTOMOC
QGCFlightGearLink.h
QGCHilLink.h
QGCJSBSimLink.h
)
target_link_libraries
(
comm
PUBLIC
Qt5::Location
Qt5::SerialPort
Qt5::TextToSpeech
Qt5::Widgets
qgc
)
target_include_directories
(
comm PUBLIC
${
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