Skip to content

Commit 031e817

Browse files
committed
Enable cross compilation of Visual Studio ARM and ARM64 targets
1 parent a3b2d7a commit 031e817

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.travis.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,16 @@ jobs:
2525
name: x86_msvc
2626
script:
2727
- cd vs2017
28-
- ./build_x86.cmd && Win32/Debug/test.exe
28+
- ./build_x86.cmd && Win32/Debug/test.exe
29+
- os: windows
30+
name: arm_msvc
31+
before_install: choco install --force VisualStudio2017-workload-vctools --params"--add Microsoft.VisualStudio.Component.VC.Tools.ARM"
32+
script:
33+
- cd vs2017
34+
- ./build.cmd ARM
35+
- os: windows
36+
name: arm64_msvc
37+
before_install: choco install --force VisualStudio2017-workload-vctools --params"--add Microsoft.VisualStudio.Component.VC.Tools.ARM64"
38+
script:
39+
- cd vs2017
40+
- ./build.cmd ARM64

vs2017/build.cmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
rem Build with visualstudio2017buildtools
2+
echo Building %1
3+
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat"
4+
msbuild stackman.sln /p:Platform=%1

0 commit comments

Comments
 (0)