From 20acbc0499a1d3e56a89d4034627012756db30ec Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Fri, 22 Aug 2025 11:39:16 +0200 Subject: [PATCH] update to c++20 --- .vscode/c_cpp_properties.json | 2 +- xmake.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 2ee525f..2f0e4f7 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -2,7 +2,7 @@ "configurations": [ { "name": "TD2", - "cppStandard": "c++17", + "cppStandard": "c++20", "includePath": [ "include" ], diff --git a/xmake.lua b/xmake.lua index abaa8fa..f05d283 100644 --- a/xmake.lua +++ b/xmake.lua @@ -5,7 +5,7 @@ add_repositories("persson-repo https://git.ale-pri.com/Persson-dev/xmake-repo.gi add_requires("imgui 1.92.0", {configs = {sdl3 = true, opengl3 = true}}) add_requires("libsdl3 3.2.16", "splib 2.3.2", "zlib", "glew", "fpm", "enet6") -set_languages("c++17") +set_languages("c++20") set_warnings("all")