Skip to content
Draft
Show file tree
Hide file tree
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
17 changes: 9 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ default_install_hook_types:

repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.2.0
rev: v4.3.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: [--no-color]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -19,23 +19,23 @@ repos:
- id: check-added-large-files

- repo: https://github.com/BlankSpruce/gersemi
rev: 0.21.0
rev: 0.22.3
hooks:
- id: gersemi
name: CMake linting

- repo: https://github.com/psf/black
rev: 25.1.0
rev: 25.9.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v20.1.8
rev: v21.1.2
hooks:
- id: clang-format
types_or: [c++, c, proto]
# Check linting and style issues
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.12.5"
rev: "v0.14.2"
hooks:
# Run the linter.
- id: ruff-check
Expand All @@ -51,16 +51,17 @@ repos:
exclude: ^(pyproject.toml)

- repo: https://github.com/fsfe/reuse-tool
rev: v5.0.2
rev: v6.2.0
hooks:
- id: reuse-lint-file

- repo: local
hooks:
- id: reuse-annotate
name: reuse-annotate
language: python
additional_dependencies: ["reuse"]
entry: reuse annotate -l MIT --merge-copyrights --single-line -c "Mathis Logemann <[email protected]>"
types_or: [c++, qml, proto, cmake, python, pyi]
pass_filenames: true
language: system
stages: [ manual ]
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ message(STATUS "git_branch: ${git_branch}")

find_package(Sanitizers REQUIRED)
### NOTE: Set CPM_USE_LOCAL_PACKAGES or CPM_LOCAL_PACKAGES_ONLY to true if you want to use system packages or a package manager like vcpkg.
include(get_cpm)
include(CPM)
set(BOOST_VERSION "1.89.0")
list(APPEND BOOST_INCLUDE_LIBRARIES asio process)
cpmaddpackage(
Expand All @@ -92,10 +92,10 @@ cpmaddpackage(
FIND_PACKAGE_ARGUMENTS "CONFIG"
OPTIONS "BOOST_ENABLE_CMAKE ON" "BOOST_PROCESS_USE_STD_FS ON" "BOOST_SKIP_INSTALL_RULES ${CMAKE_SKIP_INSTALL_RULES}"
)
cpmaddpackage("gh:fmtlib/fmt#11.2.0")
cpmaddpackage("gh:odygrd/quill@10.1.0")
cpmaddpackage("gh:fmtlib/fmt#12.1.0")
cpmaddpackage("gh:odygrd/quill@10.2.0")
cpmaddpackage(URI "gh:skypjack/[email protected]" NAME "EnTT" FIND_PACKAGE_ARGUMENTS "CONFIG")
cpmaddpackage(URI "gh:NVIDIA/stdexec#138e136fa4b93e7e096a4968eaac1b0c94f0d255" NAME "stdexec" VERSION 0.11 FIND_PACKAGE_ARGUMENTS "CONFIG" OPTIONS "STDEXEC_BUILD_TESTS OFF" "STDEXEC_BUILD_EXAMPLES OFF" "STDEXEC_ENABLE_ASIO ON" "CMAKE_SKIP_INSTALL_RULES ${CMAKE_SKIP_INSTALL_RULES}"
cpmaddpackage(URI "gh:NVIDIA/stdexec#712953b245412bf8ebdfdf369136d637beb43aec" NAME "stdexec" VERSION 0.11 FIND_PACKAGE_ARGUMENTS "CONFIG" OPTIONS "STDEXEC_BUILD_TESTS OFF" "STDEXEC_BUILD_EXAMPLES OFF" "STDEXEC_ENABLE_ASIO ON" "CMAKE_SKIP_INSTALL_RULES ${CMAKE_SKIP_INSTALL_RULES}"
)
cpmaddpackage(URI "gh:Tradias/[email protected]" FIND_PACKAGE_ARGUMENTS "CONFIG" VERSION 3.4.0)
cpmaddpackage(URI "gh:nlohmann/[email protected]" FIND_PACKAGE_ARGUMENTS "CONFIG" NAME "nlohmann_json")
Expand All @@ -104,7 +104,7 @@ cpmaddpackage(URI "gh:nothings/stb#f0569113c93ad095470c54bf34a17b36646bbbb5" NAM
find_package(gRPC CONFIG REQUIRED)
set(Stb_INCLUDE_DIR "$<BUILD_INTERFACE:${Stb_SOURCE_DIR}>")
if(QUITE_BUILD_REMOTE_MANAGER OR BUILD_TESTING)
cpmaddpackage(URI "gh:CLIUtils/CLI11@2.5.0" OPTIONS "CLI11_PRECOMPILED ON")
cpmaddpackage(URI "gh:CLIUtils/CLI11@2.6.1" OPTIONS "CLI11_PRECOMPILED ON")
endif()
if(BUILD_TESTING)
cpmaddpackage("gh:vector-of-bool/cmrc#952ffddba731fc110bd50409e8d2b8a06abbd237"
Expand Down
1 change: 1 addition & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"debug-build"
],
"cacheVariables": {
"CMAKE_SKIP_INSTALL_RULES": true,
"QUITE_INSTALL": false,
"BUILD_TESTING": true,
"SANITIZE_ADDRESS": false,
Expand Down
Loading
Loading