Skip to content

roslint_cpp default add .hpp suffix #59

@Wsine

Description

@Wsine

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions