mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
cmake add a few include guards
- this is a minor cmake configure time optimization
This commit is contained in:
@@ -31,6 +31,12 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
|
# cmake include guard
|
||||||
|
if(px4_find_python_module_included)
|
||||||
|
return()
|
||||||
|
endif(px4_find_python_module_included)
|
||||||
|
set(px4_find_python_module_included true)
|
||||||
|
|
||||||
#
|
#
|
||||||
# px4_find_python_module
|
# px4_find_python_module
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -31,6 +31,12 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
|
# cmake include guard
|
||||||
|
if(px4_git_included)
|
||||||
|
return()
|
||||||
|
endif(px4_git_included)
|
||||||
|
set(px4_git_included true)
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
#
|
#
|
||||||
# px4_add_git_submodule
|
# px4_add_git_submodule
|
||||||
|
|||||||
@@ -31,6 +31,12 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
|
# cmake include guard
|
||||||
|
if(px4_parse_function_args_included)
|
||||||
|
return()
|
||||||
|
endif(px4_parse_function_args_included)
|
||||||
|
set(px4_parse_function_args_included true)
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
#
|
#
|
||||||
# px4_parse_function_args
|
# px4_parse_function_args
|
||||||
|
|||||||
Reference in New Issue
Block a user