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
db1ee7d6
Commit
db1ee7d6
authored
Oct 25, 2018
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake create qgcunittest library in src/qgcunittest
parent
a669dfb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
19 deletions
+33
-19
CMakeLists.txt
src/CMakeLists.txt
+5
-19
CMakeLists.txt
src/qgcunittest/CMakeLists.txt
+28
-0
No files found.
src/CMakeLists.txt
View file @
db1ee7d6
...
...
@@ -5,8 +5,6 @@ include_directories(
${
CMAKE_CURRENT_BINARY_DIR
}
${
Qt5Location_PRIVATE_INCLUDE_DIRS
}
qgcunittest
)
set
(
EXTRA_SRC
)
...
...
@@ -43,23 +41,7 @@ if(BUILD_TESTING)
add_dependencies
(
check QGroundControl
)
endfunction
()
list
(
APPEND QGC_SRC
qgcunittest/FileDialogTest.cc
qgcunittest/FileManagerTest.cc
qgcunittest/FlightGearTest.cc
qgcunittest/GeoTest.cc
qgcunittest/LinkManagerTest.cc
qgcunittest/MainWindowTest.cc
qgcunittest/MavlinkLogTest.cc
qgcunittest/MessageBoxTest.cc
qgcunittest/MultiSignalSpy.cc
qgcunittest/RadioConfigTest.cc
qgcunittest/TCPLinkTest.cc
qgcunittest/TCPLoopBackServer.cc
qgcunittest/UnitTest.cc
qgcunittest/UnitTestList.cc
)
add_subdirectory
(
qgcunittest
)
add_qgc_test
(
AudioOutputTest
)
add_qgc_test
(
CameraCalcTest
)
...
...
@@ -214,5 +196,9 @@ target_link_libraries(qgc
ViewWidgets
)
if
(
BUILD_TESTING
)
target_link_libraries
(
qgc PUBLIC qgcunittest
)
endif
()
target_include_directories
(
qgc INTERFACE
${
CMAKE_CURRENT_SOURCE_DIR
}
)
src/qgcunittest/CMakeLists.txt
0 → 100644
View file @
db1ee7d6
add_library
(
qgcunittest
FileDialogTest.cc
FileManagerTest.cc
FlightGearTest.cc
GeoTest.cc
LinkManagerTest.cc
MainWindowTest.cc
MavlinkLogTest.cc
MessageBoxTest.cc
MultiSignalSpy.cc
RadioConfigTest.cc
TCPLinkTest.cc
TCPLoopBackServer.cc
UnitTest.cc
UnitTestList.cc
)
target_link_libraries
(
qgcunittest
PUBLIC
qgc
)
target_include_directories
(
qgcunittest
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