From fb1a4508d8f3a2e3adc5793d7fb44abc075da495 Mon Sep 17 00:00:00 2001 From: Vic P Date: Wed, 15 Nov 2023 01:23:25 +0700 Subject: [PATCH] Vutils --- tools/MinGW.Build.Static.Library.CMD | 2 +- tools/Others/VSX.Build.Static.Library.CMD | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/MinGW.Build.Static.Library.CMD b/tools/MinGW.Build.Static.Library.CMD index 365f87a..efff0ce 100644 --- a/tools/MinGW.Build.Static.Library.CMD +++ b/tools/MinGW.Build.Static.Library.CMD @@ -4,7 +4,7 @@ SETLOCAL EnableDelayedExpansion SET VU_NAME=Vutils SET VU_DIR=.. -SET VU_CFG=-c -std=c++0x -Wa,-mbig-obj +SET VU_CFG=-c -std=c++17 -Wa,-mbig-obj SET VU_3RD=%VU_DIR%\3rdparty SET VU_LIB=%VU_DIR%\lib SET VU_SRC=%VU_DIR%\src diff --git a/tools/Others/VSX.Build.Static.Library.CMD b/tools/Others/VSX.Build.Static.Library.CMD index 9fe06ef..e8edd4d 100644 --- a/tools/Others/VSX.Build.Static.Library.CMD +++ b/tools/Others/VSX.Build.Static.Library.CMD @@ -32,22 +32,22 @@ IF [%confirm%]==[1] ( CALL "%VU_VSDEV%" CD .. :: 64-bit - MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MD /p:Platform=x64 /p:PlatformToolset=%VU_TSVER% -m + MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MD /p:Platform=x64 /p:LanguageStandard="stdcpp17" /p:PlatformToolset=%VU_TSVER% -m IF [%VU_CI_BUILD%]==[] ( - MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MDd /p:Platform=x64 /p:PlatformToolset=%VU_TSVER% -m + MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MDd /p:Platform=x64 /p:LanguageStandard="stdcpp17" /p:PlatformToolset=%VU_TSVER% -m ) - MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MT /p:Platform=x64 /p:PlatformToolset=%VU_TSVER% -m + MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MT /p:Platform=x64 /p:LanguageStandard="stdcpp17" /p:PlatformToolset=%VU_TSVER% -m IF [%VU_CI_BUILD%]==[] ( - MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MTd /p:Platform=x64 /p:PlatformToolset=%VU_TSVER% -m + MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MTd /p:Platform=x64 /p:LanguageStandard="stdcpp17" /p:PlatformToolset=%VU_TSVER% -m ) :: 32-bit - MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MD /p:Platform=x86 /p:PlatformToolset=%VU_TSVER% -m + MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MD /p:Platform=x86 /p:LanguageStandard="stdcpp17" /p:PlatformToolset=%VU_TSVER% -m IF [%VU_CI_BUILD%]==[] ( - MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MDd /p:Platform=x86 /p:PlatformToolset=%VU_TSVER% -m + MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MDd /p:Platform=x86 /p:LanguageStandard="stdcpp17" /p:PlatformToolset=%VU_TSVER% -m ) - MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MT /p:Platform=x86 /p:PlatformToolset=%VU_TSVER% -m + MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MT /p:Platform=x86 /p:LanguageStandard="stdcpp17" /p:PlatformToolset=%VU_TSVER% -m IF [%VU_CI_BUILD%]==[] ( - MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MTd /p:Platform=x86 /p:PlatformToolset=%VU_TSVER% -m + MSBuild %VU_NAME%.sln /t:%VU_NAME% /p:Configuration=MTd /p:Platform=x86 /p:LanguageStandard="stdcpp17" /p:PlatformToolset=%VU_TSVER% -m ) ) ELSE ( ECHO Canceled