Skip to content

cmake-clang-tidy - Treating warning as errors #29

@stefaneicher

Description

@stefaneicher

https://ortogonal.github.io/https://ortogonal.github.io/cmake-clang-tidy//

Example:
set(CMAKE_CXX_CLANG_TIDY
clang-tidy;
-header-filter=.;
-checks=;
-warnings-as-errors=
;)

#enforce clang-tidy readability-identifier-naming
#set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=-,readability-identifier-naming, -warnings-as-errors=,-header-filter="")
#set(CMAKE_C_CLANG_TIDY clang-tidy -checks=-
,readability-identifier-naming, -warnings-as-errors=,-header-filter="")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions