-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opt to pass the language through to cppcheck #79
Conversation
The CMake function (
LANGUAGE as an explicit optional single value argument (similar as ament_lint/ament_cmake_uncrustify/cmake/ament_uncrustify.cmake Lines 20 to 22 in bdfec56
|
@@ -36,6 +38,9 @@ function(ament_cppcheck) | |||
set(result_file "${AMENT_TEST_RESULTS_DIR}/${PROJECT_NAME}/${ARG_TESTNAME}.xunit.xml") | |||
set(cmd "${ament_cppcheck_BIN}" "--xunit-file" "${result_file}") | |||
list(APPEND cmd ${ARG_UNPARSED_ARGUMENTS}) | |||
if(ARG_LANGUAGE) | |||
list(APPEND cmd "--languge" "${ARG_LANGUAGE}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--languge
: spelling.
Same in the docblock.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't edit (there is no notification).
Connects to ros2/ros2#368