vcmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 08 Sep 2015 02:40:05 +0100
changeset 543 02d90f0038fd
parent 503 ff58cd9f1f3c
permissions -rw-r--r--
Poratbility: do not use #removeAtIndex: under Pharo. Pharo does not have #removeAtIndex: which is actually and ANSI protocol. But Pharoers do not like ANSI and don't give a shit about compatibility. To workaround it, use super-ugly #respondsTo: test.

@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=

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


@echo "***********************************"
@echo "Buildung stx/goodies/petitparser/analyzer
@echo "***********************************"
@pushd analyzer
@call vcmake %1 %2 || exit /b "%errorlevel%"
@popd

@echo "***********************************"
@echo "Buildung stx/goodies/petitparser/tests
@echo "***********************************"
@pushd tests
@call vcmake %1 %2 || exit /b "%errorlevel%"
@popd

@echo "***********************************"
@echo "Buildung stx/goodies/petitparser/parsers/smalltalk
@echo "***********************************"
@pushd parsers\smalltalk
@call vcmake %1 %2 || exit /b "%errorlevel%"
@popd

@echo "***********************************"
@echo "Buildung stx/goodies/petitparser/parsers/java
@echo "***********************************"
@pushd parsers\java
@call vcmake %1 %2 || exit /b "%errorlevel%"
@popd

@echo "***********************************"
@echo "Buildung stx/goodies/petitparser/compiler
@echo "***********************************"
@pushd compiler
@call vcmake %1 %2 || exit /b "%errorlevel%"
@popd