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

update StableCoder/cmake-scripts version from 23.04 to 24.04 #187

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions cmake/tools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/CPM.cmake)
# enables sanitizers support using the the `USE_SANITIZER` flag available values are: Address,
# Memory, MemoryWithOrigins, Undefined, Thread, Leak, 'Address;Undefined'
if(USE_SANITIZER OR USE_STATIC_ANALYZER)
CPMAddPackage("gh:StableCoder/cmake-scripts@23.04")
CPMAddPackage("gh:StableCoder/cmake-scripts#24.04")

if(USE_SANITIZER)
include(${cmake-scripts_SOURCE_DIR}/sanitizers.cmake)
Expand Down Expand Up @@ -54,9 +54,17 @@ if(USE_SANITIZER OR USE_STATIC_ANALYZER)

include(${cmake-scripts_SOURCE_DIR}/tools.cmake)

clang_tidy(${CLANG_TIDY_ARGS})
include_what_you_use(${IWYU_ARGS})
cppcheck(${CPPCHECK_ARGS})
if(${CLANG_TIDY})
clang_tidy(${CLANG_TIDY_ARGS})
endif()

if(${IWYU})
include_what_you_use(${IWYU_ARGS})
endif()

if(${CPPCHECK})
cppcheck(${CPPCHECK_ARGS})
endif()
endif()
endif()

Expand Down
Loading