Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
109 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#=============================================================================== | ||
# Appends items to a cached list. | ||
# Usage: | ||
# fcl_append_to_cached_string(_string _cacheDesc [items...]) | ||
#=============================================================================== | ||
macro(fcl_append_to_cached_string _string _cacheDesc) | ||
foreach(newItem ${ARGN}) | ||
set(${_string} "${${_string}}${newItem}" CACHE INTERNAL ${_cacheDesc} FORCE) | ||
endforeach() | ||
endmacro() | ||
|
||
#=============================================================================== | ||
# Get list of file names give list of full paths. | ||
# Usage: | ||
# fcl_get_filename_components(_var _cacheDesc [items...]) | ||
#=============================================================================== | ||
macro(fcl_get_filename_components _var _cacheDesc _suffix_to_remove) | ||
set(${_var} "" CACHE INTERNAL ${_cacheDesc} FORCE) | ||
string(LENGTH ${_suffix_to_remove} suffix_length) | ||
foreach(header ${ARGN}) | ||
string(LENGTH ${header} full_length) | ||
string( | ||
SUBSTRING | ||
${header} | ||
${suffix_length} | ||
${full_length}-${suffix_length} | ||
header) | ||
if(${header} MATCHES "/detail/") | ||
continue() | ||
endif() | ||
if(${header} MATCHES "-impl.h") | ||
continue() | ||
endif() | ||
fcl_append_to_cached_string( | ||
${_var} | ||
${_cacheDesc}"_HEADER_NAMES" | ||
"${header}\;") | ||
endforeach() | ||
endmacro() | ||
|
||
#=============================================================================== | ||
# Generate header file list to a cached list. | ||
# Usage: | ||
# fcl_generate_include_header_list(_var _target_dir _cacheDesc [headers...]) | ||
#=============================================================================== | ||
macro(fcl_generate_include_header_list _var _target_dir _cacheDesc) | ||
set(${_var} "" CACHE INTERNAL ${_cacheDesc} FORCE) | ||
foreach(header ${ARGN}) | ||
fcl_append_to_cached_string( | ||
${_var} | ||
${_cacheDesc}"_HEADERS" | ||
"#include \"${_target_dir}${header}\"\n") | ||
endforeach() | ||
endmacro() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 0 additions & 43 deletions
43
include/fcl/object/geometry/shape/geometric_shapes_utility.h
This file was deleted.
Oops, something went wrong.