From 02aeda37b078465b7cf89c8eb835e56656dcd02c Mon Sep 17 00:00:00 2001 From: Gaspard Petit Date: Fri, 7 Jun 2024 19:53:02 -0400 Subject: [PATCH] Updated project language to C++20, Added base64-aklomp, tobiaslocker, and base64cpp on Windows --- build/msvc/base64.vcxproj | 27 ++++++++++++++++++++++-- build/msvc/base64.vcxproj.filters | 21 ++++++++++++++++++ src/base64-aklomp/test_base64-aklomp.cpp | 4 ++++ 3 files changed, 50 insertions(+), 2 deletions(-) diff --git a/build/msvc/base64.vcxproj b/build/msvc/base64.vcxproj index d43aed8..cb064ce 100644 --- a/build/msvc/base64.vcxproj +++ b/build/msvc/base64.vcxproj @@ -109,10 +109,14 @@ Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true + stdcpp20 Console true + + + ..\..\libs\base64-aklomp\out\build\x64-Release\base64.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) @@ -122,12 +126,15 @@ Level3 Disabled _DEBUG;_CONSOLE;%(PreprocessorDefinitions) - stdcpp17 + stdcpp20 true Console true + + + ..\..\libs\base64-aklomp\out\build\x64-Release\base64.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) @@ -139,12 +146,16 @@ true true WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + stdcpp20 Console true true true + + + ..\..\libs\base64-aklomp\out\build\x64-Release\base64.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) @@ -156,22 +167,34 @@ true true NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - stdcpp17 + stdcpp20 Console true true true + + + ..\..\libs\base64-aklomp\out\build\x64-Release\base64.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) + + ..\..\libs\base64pp\base64pp\include;..\..\libs\;%(AdditionalIncludeDirectories) + ..\..\libs\base64pp\base64pp\include;..\..\libs\;%(AdditionalIncludeDirectories) + ..\..\libs\base64pp\base64pp\include;..\..\libs\;%(AdditionalIncludeDirectories) + ..\..\libs\base64pp\base64pp\include;..\..\libs\;%(AdditionalIncludeDirectories) + + + + diff --git a/build/msvc/base64.vcxproj.filters b/build/msvc/base64.vcxproj.filters index 55d4a9d..b3e1dd5 100644 --- a/build/msvc/base64.vcxproj.filters +++ b/build/msvc/base64.vcxproj.filters @@ -83,6 +83,15 @@ {ee2dde68-e341-4cca-aa30-e903808a5b15} + + {5c019b3b-715c-4834-afd0-d7b4fb03dafe} + + + {2285549c-17c7-469f-a24d-e797e1583826} + + + {8e03b2f0-3dd5-427a-a052-b36af04b0678} + @@ -208,6 +217,18 @@ impl\IMUtility + + impl\base64-aklomp + + + impl\base64-tl + + + impl\base64pp + + + impl\base64pp + diff --git a/src/base64-aklomp/test_base64-aklomp.cpp b/src/base64-aklomp/test_base64-aklomp.cpp index 64516ee..26095e5 100644 --- a/src/base64-aklomp/test_base64-aklomp.cpp +++ b/src/base64-aklomp/test_base64-aklomp.cpp @@ -1,7 +1,11 @@ #include "../Base64SurveyRegistry.hpp" #include +#define BASE64_STATIC_DEFINE #include "../libs/base64-aklomp/include/libbase64.h" +/** +* On Windows, to make sure to first build libs\base64-aklomp as a Visual Studio 2022 Cmake project to generate base64.lib under libs\base64-aklomp\out\build\x64-Release +**/ struct base64aklomp {