From 4ca888d249290f0ceb58700b74da8dfe04cf10fd Mon Sep 17 00:00:00 2001 From: Francois Botha Date: Thu, 19 Oct 2023 12:36:34 +0200 Subject: [PATCH] Add support for v143 --- ObjectHandler/oh/auto_link.hpp | 5 ++++- ObjectHandler/xlsdk/auto_link.hpp | 5 ++++- QuantLibAddin/qlo/auto_link.hpp | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ObjectHandler/oh/auto_link.hpp b/ObjectHandler/oh/auto_link.hpp index 34d0e9921..958010187 100644 --- a/ObjectHandler/oh/auto_link.hpp +++ b/ObjectHandler/oh/auto_link.hpp @@ -24,7 +24,10 @@ #include // select toolset: -#if (_MSC_VER >= 1924) +// https://cmake.org/cmake/help/latest/variable/MSVC_VERSION.html is useful to determine this +#if (_MSC_VER >= 1930) +# define OBJHANDLER_LIB_TOOLSET "v143" +#elif (_MSC_VER >= 1920) # define OBJHANDLER_LIB_TOOLSET "v142" #elif (_MSC_VER >= 1910) # define OBJHANDLER_LIB_TOOLSET "v141" diff --git a/ObjectHandler/xlsdk/auto_link.hpp b/ObjectHandler/xlsdk/auto_link.hpp index bdb3f6cb8..b4412a712 100644 --- a/ObjectHandler/xlsdk/auto_link.hpp +++ b/ObjectHandler/xlsdk/auto_link.hpp @@ -21,7 +21,10 @@ #define xlsdk_autolink_hpp // select toolset: -#if (_MSC_VER >= 1924) +// https://cmake.org/cmake/help/latest/variable/MSVC_VERSION.html is useful to determine this +#if (_MSC_VER >= 1930) +# define XLSDK_LIB_TOOLSET "v143" +#elif (_MSC_VER >= 1920) # define XLSDK_LIB_TOOLSET "v142" #elif (_MSC_VER >= 1910) # define XLSDK_LIB_TOOLSET "v141" diff --git a/QuantLibAddin/qlo/auto_link.hpp b/QuantLibAddin/qlo/auto_link.hpp index 43846fb4b..c45117083 100644 --- a/QuantLibAddin/qlo/auto_link.hpp +++ b/QuantLibAddin/qlo/auto_link.hpp @@ -23,7 +23,10 @@ #include // select toolset: -#if (_MSC_VER >= 1924) +// https://cmake.org/cmake/help/latest/variable/MSVC_VERSION.html is useful to determine this +#if (_MSC_VER >= 1930) +# define QLADDIN_LIB_TOOLSET "v143" +#elif (_MSC_VER >= 1920) # define QLADDIN_LIB_TOOLSET "v142" #elif (_MSC_VER >= 1910) # define QLADDIN_LIB_TOOLSET "v141"