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
b31a5e8d
Commit
b31a5e8d
authored
Oct 24, 2018
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake create Audio library in src/Audio
parent
8eaa3206
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
9 deletions
+36
-9
CMakeLists.txt
src/AnalyzeView/CMakeLists.txt
+1
-1
CMakeLists.txt
src/Audio/CMakeLists.txt
+25
-0
CMakeLists.txt
src/CMakeLists.txt
+8
-8
CMakeLists.txt
src/GPS/CMakeLists.txt
+2
-0
No files found.
src/AnalyzeView/CMakeLists.txt
View file @
b31a5e8d
...
...
@@ -26,5 +26,5 @@ target_link_libraries(AnalyzeView
qgc
)
target_include_directories
(
AnalyzeView
INTERFACE
${
CMAKE_CURRENT_SOURCE_DIR
}
)
target_include_directories
(
AnalyzeView
PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
)
src/Audio/CMakeLists.txt
0 → 100644
View file @
b31a5e8d
set
(
EXTRA_SRC
)
if
(
BUILD_TESTING
)
list
(
APPEND EXTRA_SRC
AudioOutputTest.cc
)
endif
()
add_library
(
Audio
AudioOutput.cc
${
EXTRA_SRC
}
)
target_link_libraries
(
Audio
PUBLIC
Qt5::Core
Qt5::Qml
Qt5::TextToSpeech
Qt5::Widgets
qgc
)
target_include_directories
(
Audio PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
)
src/CMakeLists.txt
View file @
b31a5e8d
...
...
@@ -7,9 +7,7 @@ include_directories(
QtLocationPlugin/QMLControl
${
Qt5Location_PRIVATE_INCLUDE_DIRS
}
AnalyzeView
api
Audio
AutoPilotPlugins
AutoPilotPlugins/APM
AutoPilotPlugins/Common
...
...
@@ -75,7 +73,6 @@ if(BUILD_TESTING)
endfunction
()
list
(
APPEND QGC_SRC
Audio/AudioOutputTest.cc
comm/MockLink.cc
comm/MockLinkFileServer.cc
...
...
@@ -224,8 +221,6 @@ add_library(qgc
api/QGCSettings.cc
api/QmlComponentInfo.cc
Audio/AudioOutput.cc
AutoPilotPlugins/APM/APMAirframeComponent.cc
AutoPilotPlugins/APM/APMAirframeComponentAirframes.cc
AutoPilotPlugins/APM/APMAirframeComponentController.cc
...
...
@@ -490,6 +485,11 @@ add_library(qgc
set_source_files_properties
(
QGCApplication.cc PROPERTIES COMPILE_DEFINITIONS GIT_VERSION=
"
${
git_tag
}
"
)
add_subdirectory
(
AnalyzeView
)
add_subdirectory
(
Airmap
)
add_subdirectory
(
Audio
)
add_subdirectory
(
GPS
)
target_link_libraries
(
qgc
PUBLIC
...
...
@@ -510,13 +510,13 @@ target_link_libraries(qgc
Qt5::Widgets
Airmap
AnalyzeView
Audio
gps
qwt
# LinechartWidget
)
target_include_directories
(
qgc INTERFACE
${
CMAKE_CURRENT_SOURCE_DIR
}
)
add_subdirectory
(
AnalyzeView
)
add_subdirectory
(
Airmap
)
add_subdirectory
(
GPS
)
src/GPS/CMakeLists.txt
View file @
b31a5e8d
...
...
@@ -17,6 +17,8 @@ target_link_libraries(gps
Qt5::SerialPort
Qt5::Svg
Qt5::TextToSpeech
qgc
)
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