Skip to content

Commit

Permalink
Add build scripts
Browse files Browse the repository at this point in the history
Building with Visual C++ 6 fails for now
  • Loading branch information
oboroc committed Jan 7, 2014
1 parent 9b99103 commit 150fdeb
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/build-vc10.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@echo off
echo Compile asmsx with Visual C++ 2010 (10.0)

set VCDIR=C:\Program Files (x86)\Microsoft Visual Studio 10.0
set PSDK=C:\Program Files (x86)\Windows Kits\8.1
set INCLUDE=%VCDIR%\VC\INCLUDE;%PSDK%\Include\um
set LIB=%VCDIR%\VC\LIB;%PSDK%\Lib\winv6.3\um\x86
set PATH=%VCDIR%\Common7\IDE;%VCDIR%\VC\BIN;%PATH%

cl.exe /W3 bdecli.c > bdecli.vc10.err
rem /W1 to /W4 for warnings, /WX to treat warning as errors, /O2 for moderate optimization

del *.obj
12 changes: 12 additions & 0 deletions src/build-vc6.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@echo off
echo Compile asmsx with Visual C++ 98 (6.0)

set VCDIR=C:\Program Files\Microsoft Visual Studio
set INCLUDE=%VCDIR%\VC98\INCLUDE
set LIB=%VCDIR%\VC98\LIB
set PATH=%VCDIR%\Common\msdev98\bin;%VCDIR%\VC98\bin;%PATH%

cl.exe /G6 /W3 bdecli.c > bdecli.vc6.err
rem /W1 to /W4 for warnings, /WX to treat warning as errors, /O2 for moderate optimization

del *.obj

0 comments on commit 150fdeb

Please # to comment.