summaryrefslogtreecommitdiff
path: root/templates/vs2022platforms.mpt
diff options
context:
space:
mode:
authorAdam Mitz <mitza@objectcomputing.com>2021-11-08 11:18:42 -0600
committerAdam Mitz <mitza@objectcomputing.com>2021-11-08 11:19:47 -0600
commitbdb7c35e6d8ae3451123ed1694a58a744c48e957 (patch)
tree9a5e83c83c0f75e3d6f225fea31653c147858b03 /templates/vs2022platforms.mpt
parentcdf4e7e044a258dbe9da7ee359f9ddf885d9c755 (diff)
downloadMPC-bdb7c35e6d8ae3451123ed1694a58a744c48e957.tar.gz
Generate Visual Studio 2022 projects and solutions
Diffstat (limited to 'templates/vs2022platforms.mpt')
-rw-r--r--templates/vs2022platforms.mpt38
1 files changed, 38 insertions, 0 deletions
diff --git a/templates/vs2022platforms.mpt b/templates/vs2022platforms.mpt
new file mode 100644
index 00000000..6e08c088
--- /dev/null
+++ b/templates/vs2022platforms.mpt
@@ -0,0 +1,38 @@
+// -*- MPC -*-
+//
+// Any of these platforms can set using value_template platforms=
+// when generating solutions/projects.
+//
+
+platforms = Win32 x64 ARM ARM64
+default_platform = x64
+PlatformToolset = v143
+WindowsTargetPlatformVersion = 10.0
+
+Win32 {
+ output_subdir = I386
+}
+
+x64 {
+ output_subdir = AMD64
+ cpu_defines = _AMD64_
+ platform_defines = _WIN64
+ TargetMachine = "0" // We let VC++ figure it out for us.
+ link_options = /machine:AMD64
+}
+
+ARM {
+ output_subdir = ARM
+ cpu_defines = _ARM_
+ platform_defines = _ARM
+ TargetMachine = "0" // We let VC++ figure it out for us.
+ link_options = /machine:ARM
+}
+
+ARM64 {
+ output_subdir = ARM64
+ cpu_defines = _ARM64_
+ platform_defines = _ARM64
+ TargetMachine = "0" // We let VC++ figure it out for us.
+ link_options = /machine:ARM64
+}