compiler/vcmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 22 Sep 2015 17:43:38 +0100
changeset 14 fa42d3f1a578
parent 11 6d39860d0fdb
permissions -rw-r--r--
Removed syntax for inline assembly, use <primitive: [:asm | ... ]> syntax. This one is easier to implement and less introusive, syntax-wise. And follows Smalltalk tradiiton.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
@REM -------
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
@REM make using Microsoft Visual C compiler
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
@REM type vcmake, and wait...
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
@REM do not edit - automatically generated from ProjectDefinition
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
@REM -------
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     7
@if not defined VSINSTALLDIR (
2
2a3e47c13905 Removed classes meant for hosting Tea within Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1
diff changeset
     8
    pushd ..\..\..\stx\rules
0
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     9
    call vcsetup.bat
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    10
    popd
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    11
)
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    12
@SET DEFINES=
11
6d39860d0fdb First shot on #ifTrie:ifFalse: special form
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2
diff changeset
    13
@REM Kludge got Mercurial, cannot be implemented in Borland make
6d39860d0fdb First shot on #ifTrie:ifFalse: special form
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2
diff changeset
    14
@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
6d39860d0fdb First shot on #ifTrie:ifFalse: special form
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2
diff changeset
    15
@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
6d39860d0fdb First shot on #ifTrie:ifFalse: special form
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2
diff changeset
    16
0
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    17
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    18
make.exe -N -f bc.mak -DUSEVC=1 %DEFINES% %*
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    19
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    20
db69a8d8b368 Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    21