Skip to content

Commit

Permalink
Bump cpp version to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
edo9300 committed Aug 31, 2024
1 parent 29216bd commit dad306b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gframe/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if _ACTION=="xcode4" then
end
local ygopro_config=function(static_core)
kind "WindowedApp"
cppdialect "C++14"
cppdialect "C++17"
rtti "Off"
files { "**.cpp", "**.cc", "**.c", "**.h", "**.hpp" }
excludes { "lzma/**", "sound_sdlmixer.*", "sound_irrklang.*", "irrklang_dynamic_loader.*", "sound_sfml.*", "sfAudio/**", "Android/**" }
Expand Down
1 change: 1 addition & 0 deletions gframe/text_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define TEXT_TYPES_H_
#include <string>
#include "fmt.h"
#define nssv_CONFIG_SELECT_STRING_VIEW 1
#include "nonstd/string_view.hpp"

// Double macro to convert the macro-defined int to a character literal
Expand Down
4 changes: 1 addition & 3 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,7 @@ workspace "ygo"
end

if _OPTIONS["oldwindows"] then
filter { "action:vs2015" }
toolset "v140_xp"
filter { "action:vs*", "action:not vs2015" }
filter { "action:vs*" }
toolset "v141_xp"
filter {}
else
Expand Down

0 comments on commit dad306b

Please sign in to comment.