Skip to content

Commit cf2145d

Browse files
committed
Batch file to build, since VS build commands don't work from Git BASH
1 parent 36afd84 commit cf2145d

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

.gitignore

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,6 @@
4242
*.idb
4343
*.pdb
4444

45-
# Kernel Module Compile Results
46-
*.mod*
47-
*.cmd
48-
.tmp_versions/
49-
modules.order
50-
Module.symvers
51-
Mkfile.old
52-
dkms.conf
5345

5446
# custom
5547
bin/

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
- os: windows
2020
name: x64_msvc
2121
script:
22-
- '"/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/Common7/Tools/VsDevCmd.bat"'
23-
- msbuild.exe vs2019/stackman.sln /p:Platform=x64
24-
- vs2019/x64/Debug/test.exe
22+
- cd vs2019
23+
- build_x64.cmd
24+
- x64/Debug/test.exe
2525
- os: windows
2626
name: x86_msvc
2727
script:
28-
- '"/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/Common7/Tools/VsDevCmd.bat"'
29-
- msbuild.exe vs2019/stackman.sln /p:Platform=x86
30-
- vs2019/win32/Debug/test.exe
28+
- cd vs2019
29+
- build_x86.cmd
30+
- Win32/Debug/test.exe

vs2019/build_x64.cmd

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

vs2019/build_x86.cmd

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

0 commit comments

Comments
 (0)