3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-03 21:09:11 +00:00

updated ml build scripts to assume required tools are already set up, and added comments specifying which tools are required

This commit is contained in:
Josh Berdine 2012-10-07 00:27:00 +01:00
parent 452ea65189
commit aec36146ab
5 changed files with 31 additions and 22 deletions

View file

@ -2,7 +2,11 @@
SETLOCAL
REM Script to generate, compile, test, and document the Z3 OCaml API
REM
REM Assumes that environment variables are set to provide access to the C and OCaml compilers, including flexdll and camlidl, as well as the following commands: diff, dos2unix, grep, sed, unix2dos
REM
REM usage: build.cmd [32|64] [-D UNSAFE_ERRORS] [-D LEAK_CONTEXTS]
REM
REM Invoke with "-D UNSAFE_ERRORS" to build version that does not support recoverable errors, but avoids some error-checking overhead.
REM Invoke with "-D LEAK_CONTEXTS" to build version that leaks Z3_context objects, but avoids some garbage-collection overhead.
@ -22,12 +26,6 @@ if %BITS% == 32 (
set Z3DBG= ..\x64\Debug
)
echo { Setting up environment
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" %ARCH%
call ..\tools\ocaml\win%BITS%\setup.cmd
set PATH=..\tools;..\mlV3;%PATH%
echo }
echo { Cleaning
call .\clean.cmd
echo }
@ -52,4 +50,4 @@ call .\update-ml-doc.cmd ..\doc
if errorlevel 1 goto :EOF
echo }
ENDLOCAL
ENDLOCAL