From 76408fb21e343dd829603eb0ca8d252caa4ea222 Mon Sep 17 00:00:00 2001 From: Saiful Islam Rasel Date: Thu, 29 Dec 2022 12:03:54 +0600 Subject: [PATCH] fixed the bakkesmod plugin lib linker issues and surpress the depricated warnings/errors --- AutoReplayUploader/AutoReplayUploader.vcxproj | 2 +- AutoReplayUploader/bakkesmod.props | 2 +- ConsoleUploader/ConsoleUploader.vcxproj | 1 + UnitTests/UnitTests.vcxproj | 1 + Uploader/Uploader.vcxproj | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/AutoReplayUploader/AutoReplayUploader.vcxproj b/AutoReplayUploader/AutoReplayUploader.vcxproj index 0815973..cf2cdf7 100644 --- a/AutoReplayUploader/AutoReplayUploader.vcxproj +++ b/AutoReplayUploader/AutoReplayUploader.vcxproj @@ -76,7 +76,7 @@ - 4251;4244 + 4251;4244;4996 Level3 MaxSpeed true diff --git a/AutoReplayUploader/bakkesmod.props b/AutoReplayUploader/bakkesmod.props index f1dc3f1..08205a3 100644 --- a/AutoReplayUploader/bakkesmod.props +++ b/AutoReplayUploader/bakkesmod.props @@ -10,7 +10,7 @@ $(BakkesModPath)\bakkesmodsdk\lib;%(AdditionalLibraryDirectories) - bakkesmod.lib;%(AdditionalDependencies) + pluginsdk.lib;%(AdditionalDependencies) python "$(BakkesModPath)\bakkesmodsdk\bakkes_patchplugin.py" "$(TargetPath)" diff --git a/ConsoleUploader/ConsoleUploader.vcxproj b/ConsoleUploader/ConsoleUploader.vcxproj index 7484e47..0b6ec2e 100644 --- a/ConsoleUploader/ConsoleUploader.vcxproj +++ b/ConsoleUploader/ConsoleUploader.vcxproj @@ -116,6 +116,7 @@ true MultiThreaded ../Uploader/; + 4996 true diff --git a/UnitTests/UnitTests.vcxproj b/UnitTests/UnitTests.vcxproj index 8fbd24a..cf6b98e 100644 --- a/UnitTests/UnitTests.vcxproj +++ b/UnitTests/UnitTests.vcxproj @@ -144,6 +144,7 @@ NDEBUG;%(PreprocessorDefinitions) true MultiThreaded + 4996 Windows diff --git a/Uploader/Uploader.vcxproj b/Uploader/Uploader.vcxproj index edfc246..f0b512c 100644 --- a/Uploader/Uploader.vcxproj +++ b/Uploader/Uploader.vcxproj @@ -141,6 +141,7 @@ _MBCS;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;CURL_STATICLIB;CURLPP_STATICLIB ;../libs/includes/ MultiThreaded + 4996 true