vcmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 26 Jul 2016 10:21:31 +0100
changeset 3601 4f1b473722cb
parent 3514 b3cbf3ca5dcf
child 3661 babc6ab26e36
permissions -rw-r--r--
Interop: return Java `char` value as instance of Character when returned from Java code (since internally, instances of `char` in Java are actually `int` values)

@REM -------
@REM make using Microsoft Visual C compiler
@REM type vcmake, and wait...
@REM do not edit - automatically generated from ProjectDefinition
@REM -------

@if not defined VSINSTALLDIR (
    pushd ..\rules
    call vcsetup.bat
    popd
)
@SET DEFINES=
@REM Kludge got Mercurial, cannot be implemented in Borland make
@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"


make.exe -N -f bc.mak -DUSEVC=1 %DEFINES% %*



@if not exist experiments goto skip_stx_libjava_experiments
@echo "***********************************"
@echo "Building stx/libjava/experiments
@echo "***********************************"
@pushd experiments
@call vcmake %1 %2 || exit /b "%errorlevel%"
@popd
@goto done_stx_libjava_experiments
:skip_stx_libjava_experiments
@echo "###################################"
@echo "FOLDER MISSING: stx/libjava/experiments
@echo "###################################"
exit /b 1
:done_stx_libjava_experiments

@if not exist tools goto skip_stx_libjava_tools
@echo "***********************************"
@echo "Building stx/libjava/tools
@echo "***********************************"
@pushd tools
@call vcmake %1 %2 || exit /b "%errorlevel%"
@popd
@goto done_stx_libjava_tools
:skip_stx_libjava_tools
@echo "###################################"
@echo "FOLDER MISSING: stx/libjava/tools
@echo "###################################"
exit /b 1
:done_stx_libjava_tools