File tree Expand file tree Collapse file tree 4 files changed +24
-48
lines changed
Expand file tree Collapse file tree 4 files changed +24
-48
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33# SPDX-FileCopyrightText: Copyright (c) 2019-2023 Lars Melchior and contributors
44
55set (CPM_DOWNLOAD_VERSION 0.42.0)
6- set (CPM_HASH_SUM "2020b4fc42dba44817983e06342e682ecfc3d2f484a581f11cc5731fbe4dce8a" )
6+ set (CPM_HASH_SUM
7+ "2020b4fc42dba44817983e06342e682ecfc3d2f484a581f11cc5731fbe4dce8a"
8+ )
79
810if (CPM_SOURCE_CACHE)
9- set (CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE} /cpm/CPM_${CPM_DOWNLOAD_VERSION} .cmake" )
11+ set (CPM_DOWNLOAD_LOCATION
12+ "${CPM_SOURCE_CACHE} /cpm/CPM_${CPM_DOWNLOAD_VERSION} .cmake"
13+ )
1014elseif (DEFINED ENV{CPM_SOURCE_CACHE})
11- set (CPM_DOWNLOAD_LOCATION "$ENV{CPM_SOURCE_CACHE} /cpm/CPM_${CPM_DOWNLOAD_VERSION} .cmake" )
15+ set (CPM_DOWNLOAD_LOCATION
16+ "$ENV{CPM_SOURCE_CACHE} /cpm/CPM_${CPM_DOWNLOAD_VERSION} .cmake"
17+ )
1218else ()
13- set (CPM_DOWNLOAD_LOCATION "${CMAKE_BINARY_DIR} /cmake/CPM_${CPM_DOWNLOAD_VERSION} .cmake" )
19+ set (CPM_DOWNLOAD_LOCATION
20+ "${CMAKE_BINARY_DIR} /cmake/CPM_${CPM_DOWNLOAD_VERSION} .cmake"
21+ )
1422endif ()
1523
1624# Expand relative path. This is important if the provided path contains a tilde (~)
1725get_filename_component (CPM_DOWNLOAD_LOCATION ${CPM_DOWNLOAD_LOCATION} ABSOLUTE )
1826
19- file (DOWNLOAD
20- https://github.com/cpm-cmake/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION} /CPM.cmake
21- ${CPM_DOWNLOAD_LOCATION} EXPECTED_HASH SHA256=${CPM_HASH_SUM}
27+ file (
28+ DOWNLOAD
29+ https://github.com/cpm-cmake/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION} /CPM.cmake
30+ ${CPM_DOWNLOAD_LOCATION}
31+ EXPECTED_HASH SHA256=${CPM_HASH_SUM}
2232)
2333
2434include (${CPM_DOWNLOAD_LOCATION} )
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ function(add_fmt_module NAME)
2222 target_compile_definitions (${NAME} PUBLIC ${CPPdefinitions} )
2323 endif ()
2424
25- # cmake-format: off
2625 target_sources (
2726 ${NAME}
2827 PUBLIC
@@ -31,13 +30,11 @@ function(add_fmt_module NAME)
3130 BASE_DIRS ${FMT_ROOT}
3231 FILES ${FMT_ROOT} /lib/cmake/fmt/module/fmt.cppm
3332 )
34- # cmake-format: on
3533endfunction ()
3634
3735# Build the stdlib module
3836function (add_stdlib_module NAME )
3937 add_library (${NAME} )
40- # cmake-format: off
4138 target_sources (
4239 ${NAME}
4340 PUBLIC
@@ -47,7 +44,6 @@ function(add_stdlib_module NAME)
4744 ${LLVM_LIBC_SOURCE} /std.cppm
4845 ${LLVM_LIBC_SOURCE} /std.compat.cppm
4946 )
50- # cmake-format: on
5147 target_compile_features (
5248 ${NAME}
5349 PUBLIC
Original file line number Diff line number Diff line change 33#
44Pygments
55PyYAML
6- cmake-init >= 0.40.5
7- cmake >= 4.0
8- cmakelint >= 1.4.2
9- codespell >= 2.2.6
10- gcovr >= 8.2
11- gersemi
6+ cmake-init >= 0.41.1
7+ cmake >= 4.2
8+ codespell >= 2.4.1
9+ gcovr >= 8.4
10+ gersemi >= 0.22.3
1211jinja2 >= 3.1.3
13- ninja >= 1.11.1
12+ ninja >= 1.13.0
1413yamllint
1514builddriver
15+ pre-commit
You can’t perform that action at this time.
0 commit comments