summaryrefslogtreecommitdiff
path: root/templates/vs2019platforms.mpt
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2019-02-05 14:37:40 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2019-02-05 14:37:40 +0100
commitf2b9525671985c98f59026cde58f437eeea8d97e (patch)
tree64f334d4d88d1ae6b799cba54cbba671204c922c /templates/vs2019platforms.mpt
parentffeda8bff53d248642b9db532fc7e00d724a4e63 (diff)
downloadMPC-f2b9525671985c98f59026cde58f437eeea8d97e.tar.gz
Add support for Visual Studio 2019 using Visual C++ 14.2
Diffstat (limited to 'templates/vs2019platforms.mpt')
-rw-r--r--templates/vs2019platforms.mpt24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/vs2019platforms.mpt b/templates/vs2019platforms.mpt
new file mode 100644
index 00000000..29370e3a
--- /dev/null
+++ b/templates/vs2019platforms.mpt
@@ -0,0 +1,24 @@
+// -*- MPC -*-
+//
+// Any of these platforms can set using value_template platforms=
+// when generating solutions/projects.
+//
+//platforms = Win32 x64
+
+platforms = Win32 x64
+default_platform = Win32
+PlatformToolset = v142
+WindowsTargetPlatformVersion = 10.0.16299.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
+}
+