stotko / stdgpu

stdgpu: Efficient STL-like Data Structures on the GPU
https://stotko.github.io/stdgpu/
Apache License 2.0
1.16k stars 83 forks source link

cmake: Honor STDGPU_COMPILE_WARNING_AS_ERROR option in clang-format targets #331

Closed stotko closed 2 years ago

stotko commented 2 years ago

clang-format is always configured with the --Werror flag to treat any formatting violations as errors even if STDGPU_COMPILE_WARNING_AS_ERROR is set to OFF. Fix this issue by adding this flag conditionally to the command options for the respective targets.

codecov[bot] commented 2 years ago

Codecov Report

Base: 97.14% // Head: 97.14% // No change to project coverage :thumbsup:

Coverage data is based on head (d633c99) compared to base (bda93d7). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #331 +/- ## ======================================= Coverage 97.14% 97.14% ======================================= Files 32 32 Lines 2346 2346 ======================================= Hits 2279 2279 Misses 67 67 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.