Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
630328ca
Commit
630328ca
authored
9 years ago
by
Mark Charlebois
Browse files
Options
Downloads
Plain Diff
Merge branch 'cmake-2' of
https://github.com/jgoppert/Firmware
into cmake2
parents
d798869f
4d02b747
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+7
-3
7 additions, 3 deletions
CMakeLists.txt
cmake/px4_base.cmake
+0
-0
0 additions, 0 deletions
cmake/px4_base.cmake
cmake/px4_impl_nuttx.cmake
+1
-1
1 addition, 1 deletion
cmake/px4_impl_nuttx.cmake
src/platforms/common/CMakeLists.txt
+1
-4
1 addition, 4 deletions
src/platforms/common/CMakeLists.txt
with
9 additions
and
8 deletions
CMakeLists.txt
+
7
−
3
View file @
630328ca
...
...
@@ -37,10 +37,10 @@
# Structure
# ---------------------------------------------------------------------------
#
# * Common functions should be included in px_
utils
.cmake.
# * Common functions should be included in px_
base
.cmake.
#
# * OS/ board specific fucntions should be include in
# px_${OS}
_utils
.cmake or px4_${OS}_${BOARD}
_utils
.cmake.
# px_
impl_
${OS}.cmake or px4_
impl_
${OS}_${BOARD}.cmake.
#
# Formatting
# ---------------------------------------------------------------------------
...
...
@@ -110,7 +110,11 @@ set(package-contact "px4users@googlegroups.com")
#
list
(
APPEND CMAKE_MODULE_PATH
${
CMAKE_SOURCE_DIR
}
/cmake
)
include
(
px4_
${
OS
}
_utils
)
if
(
EXISTS px4_imple_
${
OS
}
_
${
BOARD
}
)
include
(
px4_impl_
${
OS
}
_
${
BOARD
}
)
else
()
include
(
px4_impl_
${
OS
}
)
endif
()
set
(
px4_required_functions
px4_os_prebuild_targets
px4_os_add_flags
...
...
This diff is collapsed.
Click to expand it.
cmake/px4_
utils
.cmake
→
cmake/px4_
base
.cmake
+
0
−
0
View file @
630328ca
File moved
This diff is collapsed.
Click to expand it.
cmake/px4_nuttx
_utils
.cmake
→
cmake/px4_
impl_
nuttx.cmake
+
1
−
1
View file @
630328ca
...
...
@@ -49,7 +49,7 @@
# * px4_os_prebuild_targets
#
include
(
px4_
utils
)
include
(
px4_
base
)
#=============================================================================
#
...
...
This diff is collapsed.
Click to expand it.
src/platforms/common/CMakeLists.txt
+
1
−
4
View file @
630328ca
...
...
@@ -32,12 +32,9 @@
############################################################################
set
(
depends
msg_gen
prebuild_targets
)
if
(
prebuild_targets
)
list
(
APPEND depends prebuild_targets
)
endif
()
px4_add_module
(
MODULE platforms__common
SRCS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment