summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-11-13 08:29:09 +0100
committerGitHub <noreply@github.com>2021-11-13 08:29:09 +0100
commitabba742d46ee8a625e3f6143b7a9543325d0f9c0 (patch)
tree2540654f0737e768eb0c10e68b12737355f2c092
parent584e5e58c66253018a145f40d966d2fa7b01c382 (diff)
parent69133618a86b6305310b1d2c55dce3fa2e6fa525 (diff)
downloadATCD-abba742d46ee8a625e3f6143b7a9543325d0f9c0.tar.gz
Merge pull request #1730 from jwillemsen/jwi-vs2022
Add config file for Visual Studio 2022 and add github CI action
-rw-r--r--.github/workflows/windows.yml16
-rw-r--r--ACE/ace/config-win32-msvc-143.h29
-rw-r--r--ACE/ace/config-win32-msvc.h4
3 files changed, 48 insertions, 1 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 953d2eed297..386e9fe5a3b 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -101,6 +101,22 @@ jobs:
vcpkglibdir: debug/lib
vcpkgpackages: openssl xerces-c zlib
OptionalMpcArgs: -value_template LanguageStandard=stdcpp20
+ - name: VS2022Debug64
+ vmimage: windows-2022
+ mpctype: vs2022
+ BuildPlatform: x64
+ BuildConfiguration: Debug
+ vcpkgarch: x64-windows
+ vcpkglibdir: debug/lib
+ vcpkgpackages: openssl xerces-c zlib
+ - name: VS2022Release64
+ vmimage: windows-2022
+ mpctype: vs2022
+ BuildPlatform: x64
+ BuildConfiguration: Release
+ vcpkgarch: x64-windows
+ vcpkglibdir: lib
+ vcpkgpackages: openssl xerces-c zlib
runs-on: ${{ matrix.vmimage }}
name: ${{ matrix.name }}
env:
diff --git a/ACE/ace/config-win32-msvc-143.h b/ACE/ace/config-win32-msvc-143.h
new file mode 100644
index 00000000000..33cfae27549
--- /dev/null
+++ b/ACE/ace/config-win32-msvc-143.h
@@ -0,0 +1,29 @@
+/* -*- C++ -*- */
+//=============================================================================
+/**
+ * @file config-win32-msvc-143.h
+ *
+ * @brief Microsoft Visual C++ 14.3 configuration file.
+ *
+ * This file is the ACE configuration file for Microsoft Visual C++ 14.3 (as released with Visual Studio 2022).
+ *
+ * @note Do not include this file directly, include config-win32.h instead.
+ */
+//=============================================================================
+
+#ifndef ACE_CONFIG_WIN32_MSVC_143_H
+#define ACE_CONFIG_WIN32_MSVC_143_H
+#include /**/ "ace/pre.h"
+
+#ifndef ACE_CONFIG_WIN32_H
+#error Use config-win32.h in config.h instead of this header
+#endif /* ACE_CONFIG_WIN32_H */
+
+#ifndef ACE_WIN32_VC143
+# define ACE_WIN32_VC143
+#endif
+
+#include "ace/config-win32-msvc-142.h"
+
+#include /**/ "ace/post.h"
+#endif /* ACE_CONFIG_WIN32_MSVC_143_H */
diff --git a/ACE/ace/config-win32-msvc.h b/ACE/ace/config-win32-msvc.h
index ceb18c2568f..c1cdeb85277 100644
--- a/ACE/ace/config-win32-msvc.h
+++ b/ACE/ace/config-win32-msvc.h
@@ -38,7 +38,9 @@
#endif /* _WIN32_WCE */
//FUZZ: disable check_for_msc_ver
-#if (_MSC_VER >= 1920)
+#if (_MSC_VER >= 1930)
+# include "ace/config-win32-msvc-143.h"
+#elif (_MSC_VER >= 1920)
# include "ace/config-win32-msvc-142.h"
#elif (_MSC_VER >= 1910)
# include "ace/config-win32-msvc-141.h"