Can roslint_cpp default glob files add .hpp suffix? or add another option for the function?
|
# Run cpplint on a list of file names. |
|
# |
|
function(roslint_cpp) |
|
if ("${ARGN}" STREQUAL "") |
|
file(GLOB_RECURSE ARGN *.cpp *.h) |
|
endif() |
|
if (NOT DEFINED ROSLINT_CPP_CMD) |
|
set(ROSLINT_CPP_CMD ${ROSLINT_SCRIPTS_DIR}/cpplint) |
|
endif() |
|
roslint_custom("${ROSLINT_CPP_CMD}" "${ROSLINT_CPP_OPTS}" ${ARGN}) |
|
endfunction() |
Can roslint_cpp default glob files add .hpp suffix? or add another option for the function?
roslint/cmake/roslint-extras.cmake.em
Lines 46 to 56 in 1a90b02