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
223e3dcd
Commit
223e3dcd
authored
Oct 26, 2018
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake testing updates
parent
f767cc3f
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
41 additions
and
37 deletions
+41
-37
CMakeLists.txt
CMakeLists.txt
+17
-11
qgroundcontrol.qrc
qgroundcontrol.qrc
+11
-11
CMakeLists.txt
src/Audio/CMakeLists.txt
+4
-0
CMakeLists.txt
src/CMakeLists.txt
+0
-4
APMResources.qrc
src/FirmwarePlugin/APM/APMResources.qrc
+1
-1
CMakeLists.txt
src/FirmwarePlugin/CMakeLists.txt
+8
-10
No files found.
CMakeLists.txt
View file @
223e3dcd
...
...
@@ -180,21 +180,27 @@ include_directories(
add_subdirectory
(
libs
)
add_subdirectory
(
src
)
if
(
ANDROID
)
add_library
(
QGroundControl SHARED
)
else
()
add_executable
(
QGroundControl
set
(
QGC_RESOURCES
#HackAndroidFileDialog.qrc
HackFileDialog.qrc
qgcresources.qrc
qgroundcontrol.qrc
)
)
if
(
BUILD_TESTING
)
list
(
APPEND QGC_RESOURCES
UnitTest.qrc
)
endif
()
target_link_libraries
(
QGroundControl
PUBLIC
qgc
)
if
(
ANDROID
)
add_library
(
QGroundControl SHARED
${
QGC_RESOURCES
}
)
else
()
add_executable
(
QGroundControl
${
QGC_RESOURCES
}
)
endif
()
target_link_libraries
(
QGroundControl PUBLIC qgc
)
if
(
NOT QT_MKSPEC MATCHES
"winrt"
)
target_link_libraries
(
QGroundControl
...
...
qgroundcontrol.qrc
View file @
223e3dcd
src/Audio/CMakeLists.txt
View file @
223e3dcd
...
...
@@ -23,3 +23,7 @@ target_link_libraries(Audio
target_include_directories
(
Audio PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
)
if
(
BUILD_TESTING
)
add_qgc_test
(
AudioOutputTest
)
endif
()
src/CMakeLists.txt
View file @
223e3dcd
...
...
@@ -31,7 +31,6 @@ if(BUILD_TESTING)
add_subdirectory
(
qgcunittest
)
add_qgc_test
(
AudioOutputTest
)
add_qgc_test
(
CameraCalcTest
)
add_qgc_test
(
CameraSectionTest
)
add_qgc_test
(
CorridorScanComplexItemTest
)
...
...
@@ -62,9 +61,6 @@ if(BUILD_TESTING)
add_qgc_test
(
TCPLinkTest
)
add_qgc_test
(
TransectStyleComplexItemTest
)
list
(
APPEND QGC_RESOURCES
UnitTest.qrc
)
endif
()
add_library
(
qgc
...
...
src/FirmwarePlugin/APM/APMResources.qrc
View file @
223e3dcd
src/FirmwarePlugin/CMakeLists.txt
View file @
223e3dcd
add_library
(
FirmwarePlugin
CameraMetaData.cc
FirmwarePlugin.cc
FirmwarePluginManager.cc
APM/APMFirmwarePlugin.cc
APM/APMFirmwarePluginFactory.cc
APM/APMParameterMetaData.cc
...
...
@@ -7,27 +11,21 @@ add_library(FirmwarePlugin
APM/ArduPlaneFirmwarePlugin.cc
APM/ArduRoverFirmwarePlugin.cc
APM/ArduSubFirmwarePlugin.cc
CameraMetaData.cc
FirmwarePlugin.cc
FirmwarePluginManager.cc
APM/APMResources.qrc
PX4/PX4FirmwarePlugin.cc
PX4/PX4FirmwarePluginFactory.cc
PX4/PX4ParameterMetaData.cc
# Resources
APM/APMResources.qrc
PX4/PX4Resources.qrc
)
target_link_libraries
(
FirmwarePlugin
P
UBLIC
P
RIVATE
qgc
)
target_include_directories
(
FirmwarePlugin
PUBLIC
INTERFACE
${
CMAKE_CURRENT_SOURCE_DIR
}
APM
)
...
...
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