view build.bat @ 191:52188e7e3fb5

Fixed deprecated features, now compiles with DMD2.058 Also changed Array allocation policy: Now doesn't reallocate but malloc's, followed by a memcpy (no free). (this fixes a crash while compiling druntime. Same bug in dmd)
author korDen@korDen-pc
date Sun, 25 Mar 2012 03:11:12 +0400
parents b080e62b16b4
children
line wrap: on
line source

@echo off
rem  This has exactly the same semantics as the old buildscript,
rem  but supports extra optional command line arguments.
rem  Too see the supported args, run: build.bat --help

rem Pre-build 'buildHelper.d' as a workaround for RDMD issue #4688
rdmd --build-only -ofbuildHelper -unittest buildHelper.d && buildHelper.exe %*

rem Old buildscript:
rem cls && dmc.exe bridge\bridge.cpp -c && dmd -debug -g @commands.txt && dmd -release -O -inline @commands.txt