Skip to content

[Galactic] [ament_cmake_cppcheck] Fix file exclusion behavior (#329)#367

Merged
mjeronimo merged 1 commit intoament:galacticfrom
aprotyas:aprotyas/backport_329
Apr 22, 2022
Merged

[Galactic] [ament_cmake_cppcheck] Fix file exclusion behavior (#329)#367
mjeronimo merged 1 commit intoament:galacticfrom
aprotyas:aprotyas/backport_329

Conversation

@aprotyas
Copy link
Copy Markdown
Contributor

@aprotyas aprotyas commented Apr 7, 2022

This PR backports #329 to Galactic.


The EXCLUDE argument of the ament_cppcheck CMake function is
a list, i.e. a multi-value keyword. As such, it needs to be placed
out of the one-value keywords from the cmake_parse_arguments
function call.

Signed-off-by: Abrar Rahman Protyasha aprotyas@u.rochester.edu
(cherry picked from commit fd2feb1)

The `EXCLUDE` argument of the `ament_cppcheck` CMake function is
a list, i.e. a multi-value keyword. As such, it needs to be placed
out of the one-value keywords from the `cmake_parse_arguments`
function call.

Signed-off-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu>
(cherry picked from commit fd2feb1)
Signed-off-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu>
@aprotyas
Copy link
Copy Markdown
Contributor Author

aprotyas commented Apr 7, 2022

CI:
Repos file: https://gist.githubusercontent.com/aprotyas/42864e417ecf0c6ef28b23769ec4b91d/raw/5a1e30d9e56558110512876c81801481cdf4bb04/ros2.repos
Build args: --packages-above-and-dependencies ament_cmake_cppcheck
Test args: --packages-above ament_cmake_cppcheck --ctest-args -L linter
Job: https://ci.ros2.org/job/ci_launcher/10157

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@mjeronimo mjeronimo merged commit bfdebca into ament:galactic Apr 22, 2022
@aprotyas aprotyas deleted the aprotyas/backport_329 branch April 22, 2022 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants