Skip to content

Commit 5d680f2

Browse files
authored
Merge pull request DOCGroup#89 from ORDIS-Co-Ltd/master
added platform definitions for ARM and ARM64
2 parents 9397fa2 + 6748c06 commit 5d680f2

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

templates/vs2019platforms.mpt

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// Any of these platforms can set using value_template platforms=
44
// when generating solutions/projects.
55
//
6-
//platforms = Win32 x64
6+
//platforms = Win32 x64 ARM ARM64
77

8-
platforms = Win32 x64
8+
platforms = Win32 x64 ARM ARM64
99
default_platform = Win32
1010
PlatformToolset = v142
1111
WindowsTargetPlatformVersion = 10.0
@@ -22,3 +22,18 @@ x64 {
2222
link_options = /machine:AMD64
2323
}
2424

25+
ARM {
26+
output_subdir = ARM
27+
cpu_defines = _ARM_
28+
platform_defines = _ARM
29+
TargetMachine = "0" // We let VC++ figure it out for us.
30+
link_options = /machine:ARM
31+
}
32+
33+
ARM64 {
34+
output_subdir = ARM64
35+
cpu_defines = _ARM64_
36+
platform_defines = _ARM64
37+
TargetMachine = "0" // We let VC++ figure it out for us.
38+
link_options = /machine:ARM64
39+
}

0 commit comments

Comments
 (0)