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
f767cc3f
Commit
f767cc3f
authored
Oct 25, 2018
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake create qtandroidserialport in libs/qtandroidserialport
parent
db1ee7d6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
16 deletions
+24
-16
CMakeLists.txt
libs/CMakeLists.txt
+1
-0
CMakeLists.txt
libs/qtandroidserialport/CMakeLists.txt
+14
-0
CMakeLists.txt
src/CMakeLists.txt
+0
-16
CMakeLists.txt
src/Joystick/CMakeLists.txt
+9
-0
No files found.
libs/CMakeLists.txt
View file @
f767cc3f
add_subdirectory
(
qwt
)
add_subdirectory
(
qtandroidserialport
)
libs/qtandroidserialport/CMakeLists.txt
0 → 100644
View file @
f767cc3f
if
(
ANDROID
)
add_library
(
qtandroidserialport
src/qserialport.cpp
src/qserialport_android.cpp
src/qserialportinfo.cpp
src/qserialportinfo_android.cpp
)
target_link_libraries
(
qtandroidserialport
)
target_include_directories
(
qtandroidserialport INTERFACE
${
CMAKE_CURRENT_SOURCE_DIR
}
)
endif
()
src/CMakeLists.txt
View file @
f767cc3f
include_directories
(
.
${
CMAKE_CURRENT_BINARY_DIR
}
...
...
@@ -13,17 +12,6 @@ if(MOBILE)
list
(
APPEND EXTRA_SRC
MobileScreenMgr.cc
)
if
(
ANDROID
)
list
(
APPEND EXTRA_SRC
libs/qtandroidserialport/src/qserialport.cpp
libs/qtandroidserialport/src/qserialport_android.cpp
libs/qtandroidserialport/src/qserialportinfo.cpp
libs/qtandroidserialport/src/qserialportinfo_android.cpp
Joystick/JoystickAndroid.cc
)
endif
()
endif
()
if
(
BUILD_TESTING
)
...
...
@@ -74,9 +62,6 @@ if(BUILD_TESTING)
add_qgc_test
(
TCPLinkTest
)
add_qgc_test
(
TransectStyleComplexItemTest
)
endif
()
if
(
BUILD_TESTING
)
list
(
APPEND QGC_RESOURCES
UnitTest.qrc
)
...
...
@@ -85,7 +70,6 @@ endif()
add_library
(
qgc
${
QGC_RESOURCES
}
${
QGC_UI
}
${
EXTRA_SRC
}
...
...
src/Joystick/CMakeLists.txt
View file @
f767cc3f
set
(
EXTRA_SRC
)
if
(
ANDROID
)
list
(
APPEND EXTRA_SRC
JoystickAndroid.cc
)
endif
()
add_library
(
Joystick
Joystick.cc
JoystickManager.cc
JoystickSDL.cc
${
EXTRA_SRC
}
)
target_link_libraries
(
Joystick
...
...
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