gui/vcmake.bat
author Claus Gittinger <cg@exept.de>
Tue, 04 Mar 2014 22:20:32 +0100
changeset 355 7c102f6925b8
permissions -rw-r--r--
initial checkin
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
355
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
@REM -------
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
@REM make using Microsoft Visual C compiler
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
@REM type vcmake, and wait...
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
@REM do not edit - automatically generated from ProjectDefinition
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
@REM -------
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
@if not defined VSINSTALLDIR (
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
    pushd ..\..\..\rules
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
    call vcsetup.bat
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
    popd
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
)
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
@SET DEFINES=
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
@REM Kludge got Mercurial, cannot be implemented in Borland make
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
make.exe -N -f bc.mak -DUSEVC=1 %DEFINES% %*
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20