Browse Source

Meta: Bump C++ version from 17 to 20

master
Riyyi 2 years ago
parent
commit
fc163f7f06
  1. 2
      .clang-format
  2. 2
      CMakeLists.txt

2
.clang-format

@ -33,7 +33,7 @@ SpaceAfterTemplateKeyword: false
SpaceInEmptyBlock: false SpaceInEmptyBlock: false
NamespaceIndentation: None NamespaceIndentation: None
FixNamespaceComments: true FixNamespaceComments: true
Standard: c++17 Standard: c++20
TabWidth: 4 TabWidth: 4
UseTab: AlignWithSpaces UseTab: AlignWithSpaces
... ...

2
CMakeLists.txt

@ -15,7 +15,7 @@ include(GNUInstallDirs)
# ------------------------------------------ # ------------------------------------------
# Setup C++ compiler # Setup C++ compiler
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_EXTENSIONS OFF)

Loading…
Cancel
Save