cmake px4_base -> px4_parse_function_args

This commit is contained in:
Daniel Agar
2019-09-15 13:49:51 -04:00
parent d256fb8770
commit fb7521eb5e
11 changed files with 4 additions and 31 deletions

View File

@@ -105,6 +105,7 @@ set(PX4_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
set(PX4_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}")
list(APPEND CMAKE_MODULE_PATH ${PX4_SOURCE_DIR}/cmake)
include(px4_parse_function_args)
#=============================================================================
# git

View File

@@ -31,8 +31,6 @@
#
############################################################################
include(px4_base)
#=============================================================================
#
# px4_add_gtest

View File

@@ -31,8 +31,6 @@
#
############################################################################
include(px4_base)
#=============================================================================
#
# px4_add_board

View File

@@ -31,8 +31,6 @@
#
############################################################################
include(px4_base)
#=============================================================================
#
# px4_add_common_flags

View File

@@ -31,8 +31,6 @@
#
############################################################################
include(px4_base)
#=============================================================================
#
# px4_add_library

View File

@@ -31,8 +31,6 @@
#
############################################################################
include(px4_base)
#=============================================================================
#
# px4_add_module

View File

@@ -31,8 +31,6 @@
#
############################################################################
include(px4_base)
#=============================================================================
#
# px4_add_git_submodule

View File

@@ -31,17 +31,6 @@
#
############################################################################
#=============================================================================
#
# Defined functions in this file
#
# utility functions
#
# * px4_parse_function_args
#
include(CMakeParseArguments)
#=============================================================================
#
# px4_parse_function_args
@@ -88,6 +77,7 @@ include(CMakeParseArguments)
# name: hello
# list: a b c
#
include(CMakeParseArguments)
function(px4_parse_function_args)
cmake_parse_arguments(IN "" "NAME" "OPTIONS;ONE_VALUE;MULTI_VALUE;REQUIRED;ARGN" "${ARGN}")

View File

@@ -42,8 +42,6 @@
# * px4_os_prebuild_targets
#
include(px4_base)
#=============================================================================
#
# px4_os_add_flags

View File

@@ -46,8 +46,6 @@
# * px4_os_prebuild_targets
#
include(px4_base)
#=============================================================================
#
# px4_posix_generate_builtin_commands

View File

@@ -49,8 +49,6 @@
# * px4_os_prebuild_targets
#
include(px4_base)
#=============================================================================
#
# px4_qurt_generate_builtin_commands