Skip to content

Commit

Permalink
chore: remove redundant cmake things and settings (#22)
Browse files Browse the repository at this point in the history
Signed-off-by: msclock <msclock@qq.com>
  • Loading branch information
msclock authored Nov 23, 2024
1 parent 6dd30f3 commit 9735d31
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 478 deletions.
228 changes: 0 additions & 228 deletions .clang-format

This file was deleted.

78 changes: 0 additions & 78 deletions .clang-tidy

This file was deleted.

2 changes: 0 additions & 2 deletions .cppcheck-suppressions.txt

This file was deleted.

13 changes: 0 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,6 @@ repos:
- --check-filenames
- --write-changes

# Check for common shell mistakes
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.6
hooks:
- id: shellcheck

# Clang format the codebase automatically
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
hooks:
- id: clang-format
types_or: [c++, c, cuda]

# Check for renovate config
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 38.110.2
Expand Down
13 changes: 0 additions & 13 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,6 @@ set(CMAKE_CXX_EXTENSIONS
OFF
CACHE BOOL "C++ extensions")

# Source includes from vcpkg
include_directories(${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include)

# From https://github.com/msclock/cmake-registry.
find_package(cmake-modules REQUIRED)
include(cmake-modules/ProjectDefault)

# Project custom modules
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(ConfigureWarningsAndHardening)

add_subdirectory(src)

find_program(cppcheck NAMES "cppcheck" "cppcheck.exe")

install(PROGRAMS ${cppcheck} DESTINATION ${SKBUILD_PROJECT_NAME}/Cppcheck)
Expand Down
Loading

0 comments on commit 9735d31

Please sign in to comment.