We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37abed8 commit e14646eCopy full SHA for e14646e
CMakeLists.txt
@@ -2,7 +2,11 @@
2
3
cmake_minimum_required(VERSION 3.25)
4
5
-project(beman.scope DESCRIPTION "Generic Scope Guard" LANGUAGES CXX)
+project(beman.scope DESCRIPTION "Generic Scope Guard" LANGUAGES CXX
6
+
7
+set(CMAKE_CXX_STANDARD 20) # Set the C++ standard to C++20
8
+set(CMAKE_CXX_STANDARD_REQUIRED ON) # Ensure the standard is required
9
+set(CMAKE_CXX_EXTENSIONS OFF) # Disable compiler-specific extensions
10
11
enable_testing()
12
0 commit comments