From 3f14198695386a333ce41eae0310ce81108602c1 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Fri, 13 May 2022 17:37:23 +0200 Subject: [PATCH] Enable more optimization options for all projects --- r5dev/vproj/clientsdk.vcxproj | 1 + r5dev/vproj/dedicated.vcxproj | 1 + r5dev/vproj/gamesdk.vcxproj | 1 + r5dev/vproj/libdebugutils.vcxproj | 4 ++++ r5dev/vproj/libdetour.vcxproj | 4 ++++ r5dev/vproj/libdetourcrowd.vcxproj | 4 ++++ r5dev/vproj/libdetours.vcxproj | 8 ++++++++ r5dev/vproj/libdetourtilecache.vcxproj | 4 ++++ r5dev/vproj/libimgui.vcxproj | 8 ++++++++ r5dev/vproj/liblzham.vcxproj | 8 ++++++++ r5dev/vproj/libprotobuf.vcxproj | 8 ++++++++ r5dev/vproj/librecast.vcxproj | 4 ++++ r5dev/vproj/libsdl.vcxproj | 18 ++++++++++++++++-- r5dev/vproj/naveditor.vcxproj | 5 +++++ r5dev/vproj/netconsole.vcxproj | 10 ++++++++++ r5dev/vproj/sdklauncher.vcxproj | 1 + 16 files changed, 87 insertions(+), 2 deletions(-) diff --git a/r5dev/vproj/clientsdk.vcxproj b/r5dev/vproj/clientsdk.vcxproj index dfaa9157..d1387522 100644 --- a/r5dev/vproj/clientsdk.vcxproj +++ b/r5dev/vproj/clientsdk.vcxproj @@ -560,6 +560,7 @@ ..\ClientSDK.def d3d11.lib;bcrypt.lib;libdetours_x64.lib;libimgui_x64.lib;liblzham_x64.lib;libprotobuf_x64.lib;%(AdditionalDependencies) $(SolutionDir)lib\$(Configuration)\ + true IF EXIST "$(SolutionDir)..\..\r5apex.exe" del "$(SolutionDir)..\..\client.dll" && copy /Y "$(TargetPath)" "$(SolutionDir)..\..\ diff --git a/r5dev/vproj/dedicated.vcxproj b/r5dev/vproj/dedicated.vcxproj index 3b7148ee..95aeec09 100644 --- a/r5dev/vproj/dedicated.vcxproj +++ b/r5dev/vproj/dedicated.vcxproj @@ -110,6 +110,7 @@ bcrypt.lib;user32.lib;libdetours_x64.lib;liblzham_x64.lib;libprotobuf_x64.lib;%(AdditionalDependencies) $(SolutionDir)lib\$(Configuration)\ ..\Dedicated.def + true IF EXIST "$(SolutionDir)..\..\r5apex_ds.exe" del "$(SolutionDir)..\..\$(ProjectName)" && copy /Y "$(TargetPath)" "$(SolutionDir)..\..\ diff --git a/r5dev/vproj/gamesdk.vcxproj b/r5dev/vproj/gamesdk.vcxproj index c9c43052..6e595317 100644 --- a/r5dev/vproj/gamesdk.vcxproj +++ b/r5dev/vproj/gamesdk.vcxproj @@ -579,6 +579,7 @@ ..\GameSDK.def d3d11.lib;bcrypt.lib;libdetours_x64.lib;libimgui_x64.lib;liblzham_x64.lib;libprotobuf_x64.lib;%(AdditionalDependencies) $(SolutionDir)lib\$(Configuration)\ + true IF EXIST "$(SolutionDir)..\..\r5apex.exe" del "$(SolutionDir)..\..\gamesdk.dll" && copy /Y "$(TargetPath)" "$(SolutionDir)..\..\ diff --git a/r5dev/vproj/libdebugutils.vcxproj b/r5dev/vproj/libdebugutils.vcxproj index cc1e6c2e..c2e1a20c 100644 --- a/r5dev/vproj/libdebugutils.vcxproj +++ b/r5dev/vproj/libdebugutils.vcxproj @@ -95,6 +95,10 @@ true /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) stdcpp17 + AnySuitable + Speed + true + true Console diff --git a/r5dev/vproj/libdetour.vcxproj b/r5dev/vproj/libdetour.vcxproj index 07d03d96..6677b6ea 100644 --- a/r5dev/vproj/libdetour.vcxproj +++ b/r5dev/vproj/libdetour.vcxproj @@ -103,6 +103,10 @@ true /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) stdcpp17 + AnySuitable + Speed + true + true Console diff --git a/r5dev/vproj/libdetourcrowd.vcxproj b/r5dev/vproj/libdetourcrowd.vcxproj index e5154c90..50aba802 100644 --- a/r5dev/vproj/libdetourcrowd.vcxproj +++ b/r5dev/vproj/libdetourcrowd.vcxproj @@ -99,6 +99,10 @@ true /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) stdcpp17 + AnySuitable + Speed + true + true Console diff --git a/r5dev/vproj/libdetours.vcxproj b/r5dev/vproj/libdetours.vcxproj index 7a7ca32b..6c7aa6b6 100644 --- a/r5dev/vproj/libdetours.vcxproj +++ b/r5dev/vproj/libdetours.vcxproj @@ -158,6 +158,10 @@ true /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) stdcpp17 + AnySuitable + Speed + true + true Console @@ -190,6 +194,10 @@ true /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) stdcpp17 + AnySuitable + Speed + true + true Console diff --git a/r5dev/vproj/libdetourtilecache.vcxproj b/r5dev/vproj/libdetourtilecache.vcxproj index c5da70ae..29025b0a 100644 --- a/r5dev/vproj/libdetourtilecache.vcxproj +++ b/r5dev/vproj/libdetourtilecache.vcxproj @@ -91,6 +91,10 @@ true /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) stdcpp17 + AnySuitable + Speed + true + true Console diff --git a/r5dev/vproj/libimgui.vcxproj b/r5dev/vproj/libimgui.vcxproj index 0ffa765e..54872b6b 100644 --- a/r5dev/vproj/libimgui.vcxproj +++ b/r5dev/vproj/libimgui.vcxproj @@ -188,6 +188,10 @@ true /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) stdcpp17 + AnySuitable + Speed + true + true Console @@ -220,6 +224,10 @@ true /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) stdcpp17 + true + AnySuitable + Speed + true Console diff --git a/r5dev/vproj/liblzham.vcxproj b/r5dev/vproj/liblzham.vcxproj index d1d783ca..f3a2cf5b 100644 --- a/r5dev/vproj/liblzham.vcxproj +++ b/r5dev/vproj/liblzham.vcxproj @@ -279,6 +279,10 @@ true /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) stdcpp17 + AnySuitable + Speed + true + true Console @@ -311,6 +315,10 @@ true /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) stdcpp17 + AnySuitable + Speed + true + true Console diff --git a/r5dev/vproj/libprotobuf.vcxproj b/r5dev/vproj/libprotobuf.vcxproj index 751ae904..b40ffff1 100644 --- a/r5dev/vproj/libprotobuf.vcxproj +++ b/r5dev/vproj/libprotobuf.vcxproj @@ -126,6 +126,10 @@ true %(AdditionalOptions) /utf-8 /bigobj /D _CRT_SECURE_NO_WARNINGS stdcpp17 + AnySuitable + Speed + true + true Console @@ -158,6 +162,10 @@ true %(AdditionalOptions) /utf-8 /bigobj /D _CRT_SECURE_NO_WARNINGS stdcpp17 + AnySuitable + Speed + true + true Console diff --git a/r5dev/vproj/librecast.vcxproj b/r5dev/vproj/librecast.vcxproj index 05d55130..4d69fb9f 100644 --- a/r5dev/vproj/librecast.vcxproj +++ b/r5dev/vproj/librecast.vcxproj @@ -101,6 +101,10 @@ true /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) stdcpp17 + AnySuitable + Speed + true + true Console diff --git a/r5dev/vproj/libsdl.vcxproj b/r5dev/vproj/libsdl.vcxproj index a3d8fa29..6fc28846 100644 --- a/r5dev/vproj/libsdl.vcxproj +++ b/r5dev/vproj/libsdl.vcxproj @@ -122,6 +122,7 @@ true OnlyExplicitInline /arch:AVX2 %(AdditionalOptions) + stdcpp17 _DEBUG;%(PreprocessorDefinitions) @@ -152,6 +153,7 @@ true OnlyExplicitInline /arch:AVX2 %(AdditionalOptions) + stdcpp17 _DEBUG;%(PreprocessorDefinitions) @@ -184,8 +186,14 @@ Level3 ProgramDatabase true - OnlyExplicitInline + AnySuitable /arch:AVX2 %(AdditionalOptions) + true + Speed + true + true + true + stdcpp17 NDEBUG;%(PreprocessorDefinitions) @@ -215,8 +223,14 @@ Level3 ProgramDatabase true - OnlyExplicitInline + AnySuitable /arch:AVX2 %(AdditionalOptions) + true + Speed + true + true + true + stdcpp17 NDEBUG;%(PreprocessorDefinitions) diff --git a/r5dev/vproj/naveditor.vcxproj b/r5dev/vproj/naveditor.vcxproj index 9785b34c..685c6fe9 100644 --- a/r5dev/vproj/naveditor.vcxproj +++ b/r5dev/vproj/naveditor.vcxproj @@ -151,6 +151,10 @@ stdcpp17 Use Pch.h + AnySuitable + Speed + true + true Console @@ -159,6 +163,7 @@ true $(SolutionDir)lib\$(Configuration)\ librecast_x64.lib;libdtdetour_x64.lib;libdetourcrowd_x64.lib;libdetourtilecache_x64.lib;libdtdebugutils_x64.lib;libsdl2_x64.lib;OpenGL32.lib;Glu32.lib;Gdi32.lib;User32.lib;Shell32.lib;Comdlg32.lib;Kernel32.lib;Winmm.lib;Setupapi.lib;Advapi32.lib;Version.lib;Ole32.lib;Oleaut32.lib;Imm32.lib;%(AdditionalDependencies) + true IF EXIST "$(SolutionDir)..\..\r5apexdata.bin" del "$(SolutionDir)..\..\bin\$(ProjectName).exe" && copy /Y "$(TargetPath)" "$(SolutionDir)..\..\bin\ diff --git a/r5dev/vproj/netconsole.vcxproj b/r5dev/vproj/netconsole.vcxproj index 3de6428e..bc3f1028 100644 --- a/r5dev/vproj/netconsole.vcxproj +++ b/r5dev/vproj/netconsole.vcxproj @@ -175,6 +175,10 @@ /D NETCONSOLE /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) Use core\stdafx.h + AnySuitable + Speed + true + true Console @@ -183,6 +187,7 @@ true User32.lib;Bcrypt.lib;Ws2_32.lib;libprotobuf_x86.lib;%(AdditionalDependencies) $(SolutionDir)lib\$(Configuration)\ + true @@ -229,6 +234,10 @@ /D NETCONSOLE /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions) Use core\stdafx.h + AnySuitable + Speed + true + true Console @@ -237,6 +246,7 @@ true User32.lib;Bcrypt.lib;Ws2_32.lib;libprotobuf_x64.lib;%(AdditionalDependencies) $(SolutionDir)lib\$(Configuration)\ + true IF EXIST "$(SolutionDir)..\..\r5apexdata.bin" del "$(SolutionDir)..\..\bin\$(ProjectName).exe" && copy /Y "$(TargetPath)" "$(SolutionDir)..\..\bin\ diff --git a/r5dev/vproj/sdklauncher.vcxproj b/r5dev/vproj/sdklauncher.vcxproj index fb7f1739..8b04bb79 100644 --- a/r5dev/vproj/sdklauncher.vcxproj +++ b/r5dev/vproj/sdklauncher.vcxproj @@ -115,6 +115,7 @@ true libdetours_x64.lib;%(AdditionalDependencies) $(SolutionDir)lib\$(Configuration)\ + true IF EXIST "$(SolutionDir)..\..\r5apexdata.bin" del "$(SolutionDir)..\..\$(ProjectName)" && copy /Y "$(TargetPath)" "$(SolutionDir)..\..\