Skip to content

add clang-tidy - #8

Open
vrcomputing wants to merge 2 commits into
masterfrom
clangtidy
Open

add clang-tidy#8
vrcomputing wants to merge 2 commits into
masterfrom
clangtidy

Conversation

@vrcomputing

@vrcomputing vrcomputing commented Nov 24, 2024

Copy link
Copy Markdown
Owner
# set this to * to treat all warnings as errors
WarningsAsErrors: '*' 

Alternatively set it in clang-tidy's command line arguments:

set(CMAKE_CXX_CLANG_TIDY "clang-tidy;-extra-arg=-Wno-unknown-warning-option;--warnings-as-errors=*")

Comment thread CMakeLists.txt
)

set_source_files_properties(${EXAMPLE_FILES} PROPERTIES SKIP_LINTING ON)
endif() No newline at end of file

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Maybe not required since clang-tidy disabled on test target already

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.

1 participant