Skip to content

Commit d40c70b

Browse files
committed
c++20 to c++23
1 parent f139ca1 commit d40c70b

6 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
pkg-config
4040
4141
- name: Configure
42-
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug
42+
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_STANDARD=23
4343

4444
- name: Build
4545
run: cmake --build build

.github/workflows/release-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
valgrind
3030
3131
- name: Configure debug build
32-
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug
32+
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_STANDARD=23
3333

3434
- name: Build
3535
run: cmake --build build

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ agentic development.
88
Baseline shape:
99

1010
- CMake is the only supported build system
11+
- C++23 is the baseline language standard
1112
- Out-of-tree builds are the default workflow
1213
- Repo-owned code should stay portable, local-first, and easy to validate
1314
- One small library target plus one CLI target form the default example shape

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ include(CTest)
88
set(FRAME_LICENSE_INSTALL_DIR "${CMAKE_INSTALL_DATADIR}/licenses/${PROJECT_NAME}")
99

1010
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
11-
set(CMAKE_CXX_STANDARD 20)
11+
set(CMAKE_CXX_STANDARD 23)
1212
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1313
set(CMAKE_CXX_EXTENSIONS OFF)
1414

@@ -30,7 +30,7 @@ add_library(project_core STATIC
3030
)
3131

3232
target_include_directories(project_core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src)
33-
target_compile_features(project_core PUBLIC cxx_std_20)
33+
target_compile_features(project_core PUBLIC cxx_std_23)
3434

3535
add_executable(frame_cli
3636
src/main.cpp

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This frame is designed for projects that want:
2424

2525
Defaults:
2626

27-
- portable C++20 library + CLI example
27+
- portable C++23 library + CLI example
2828
- no Qt requirement by default
2929
- optional Qt/Clazy support as the example stack for projects that add a UI layer
3030
- MIT license

RELEASE_CHECKLIST.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ bash scripts/check-release-hygiene.sh
3131
bash scripts/run-release-checklist.sh
3232
```
3333

34+
- Confirm the build configuration still matches the repo baseline language
35+
standard, which is C++23.
36+
3437
- Configure a fresh out-of-tree build:
3538

3639
```bash

0 commit comments

Comments
 (0)