Skip to content
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

Quiet down build warning on Windows. #29

Merged
merged 1 commit into from
Dec 23, 2021

Conversation

clalancette
Copy link
Contributor

When building on Windows, uncrustify doesn't seem to use the
CMAKE_BUILD_TYPE variable and thus prints a warning about it.
Quiet that down with --no-warn-unused-cli.

Signed-off-by: Chris Lalancette [email protected]

This should fix the build warnings we are seeing in the nightly CI jobs, like https://ci.ros2.org/view/nightly/job/nightly_win_rel/2157/msbuild/

When building on Windows, uncrustify doesn't seem to use the
CMAKE_BUILD_TYPE variable and thus prints a warning about it.
Quiet that down with --no-warn-unused-cli.

Signed-off-by: Chris Lalancette <[email protected]>
@clalancette clalancette requested a review from Blast545 December 23, 2021 14:34
@clalancette
Copy link
Contributor Author

clalancette commented Dec 23, 2021

Windows CI before (just uncrustify_vendor): Build Status
Windows CI after (just uncrustify_vendor): Build Status

Copy link

@Blast545 Blast545 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@clalancette
Copy link
Contributor Author

Full CI:

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

@clalancette clalancette merged commit fd52d19 into master Dec 23, 2021
@delete-merged-branch delete-merged-branch bot deleted the clalancette/fix-unused-warning-windows branch December 23, 2021 21:13
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.

3 participants