Update C++ requirement to C++20
This commit is contained in:
parent
bd7fd79bb8
commit
e847c44e26
2 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2016-2023 by Sascha Willems - www.saschawillems.de
|
||||
# Copyright (C) 2016-2025 by Sascha Willems - www.saschawillems.de
|
||||
# This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
||||
|
||||
cmake_minimum_required(VERSION 3.4 FATAL_ERROR)
|
||||
|
|
@ -137,7 +137,7 @@ endif()
|
|||
|
||||
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
file(GLOB SOURCE *.cpp )
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ git submodule update
|
|||
|
||||
## Building
|
||||
|
||||
The repository contains everything required to compile and build the examples on <img src="./images/windowslogo.png" alt="" height="22px" valign="bottom"> Windows, <img src="./images/linuxlogo.png" alt="" height="24px" valign="bottom"> Linux, <img src="./images/androidlogo.png" alt="" height="24px" valign="bottom"> Android, <img src="./images/applelogo.png" alt="" valign="bottom" height="24px"> iOS and macOS (using MoltenVK) using a C++ compiler that supports C++14.
|
||||
The repository contains everything required to compile and build the examples on <img src="./images/windowslogo.png" alt="" height="22px" valign="bottom"> Windows, <img src="./images/linuxlogo.png" alt="" height="24px" valign="bottom"> Linux, <img src="./images/androidlogo.png" alt="" height="24px" valign="bottom"> Android, <img src="./images/applelogo.png" alt="" valign="bottom" height="24px"> iOS and macOS (using MoltenVK) using a C++ compiler that supports C++20.
|
||||
|
||||
See [BUILD.md](BUILD.md) for details on how to build for the different platforms.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue