summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBenjamin Oldenburg <benjamin.oldenburg@ordis.co.th>2019-10-07 01:32:51 +0700
committerBenjamin Oldenburg <benjamin.oldenburg@ordis.co.th>2019-10-07 01:32:51 +0700
commitf2eb1eb5bd4cf16a73c30c41bb74d38921e8c48d (patch)
treeaae3b89b92f228e529c0acfe1454f4bfb090ea01 /templates
parent9397fa2f3dec229eeb6f9a4e4c479725f36f2d2f (diff)
downloadMPC-f2eb1eb5bd4cf16a73c30c41bb74d38921e8c48d.tar.gz
added platform definitions for ARM and ARM64
Diffstat (limited to 'templates')
-rw-r--r--templates/vs2019platforms.mpt21
1 files changed, 18 insertions, 3 deletions
diff --git a/templates/vs2019platforms.mpt b/templates/vs2019platforms.mpt
index 4f5dbfa8..43752750 100644
--- a/templates/vs2019platforms.mpt
+++ b/templates/vs2019platforms.mpt
@@ -3,12 +3,12 @@
// Any of these platforms can set using value_template platforms=
// when generating solutions/projects.
//
-//platforms = Win32 x64
+//platforms = Win32 x64 ARM ARM64
-platforms = Win32 x64
+platforms = Win32 x64 ARM ARM64
default_platform = Win32
PlatformToolset = v142
-WindowsTargetPlatformVersion = 10.0
+WindowsTargetPlatformVersion = 10.0.17763.0
Win32 {
output_subdir = I386
@@ -22,3 +22,18 @@ x64 {
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
+} \ No newline at end of file