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

@@ -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}")