vcmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 11 Jan 2018 23:53:06 +0000
changeset 95 f417138e9c48
parent 78 c24e7d8bc881
child 97 b17c889076e4
permissions -rw-r--r--
Win32: initial support for Windows This commit brings an initial support for Windows: * Introduces a Windows-specific`GDBWindowsProcess` since there's no TTY/PTY support on Windows. It uses pipes to communicate with MI interface. To separate MI data from inferior output, it uses `set new-console on` - something that works only on Windows. It seems that this is the only way to get GDB/MI working on Windows. * Fixed `GDBMIParser` to support CR, LF or CRLF line ends * Fixed tests to work under Windows, skipping those that cannot. * Fixed thread creation/termination handling at various places

@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 ..\..\stx\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% %*