home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 January
/
pcwk_01_1999.iso
/
Wtestowe
/
Vistdstd
/
Install
/
Data.Z
/
Buildall.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-10-18
|
6KB
|
118 lines
@REM /* BUILDALL.BAT - Batch file for building the sample addons.
@REM * Copyright (C) 1996 Visio Corporation. All rights reserved.
@REM */
@REM
@echo off
@echo.
@REM
@REM ***********************************************************************
@REM ** Test building c-cpp add-ons
@REM ** Builds all combinations of c/cpp, exe/vsl, release/debug
@REM ** Output saved in .\txt\output.txt
call vcvars32.bat x86
@echo.
set tv_NMAKE_OPTS=/nologo %1 %2 %3 %4 %5 %6 %7 %8 %9
if not exist ".\txt\nul" mkdir ".\txt"
@echo *********************************************************************** > .\txt\output.txt
@echo *** Begin... >> .\txt\output.txt
@echo *** nmake params are: %tv_NMAKE_OPTS%
@echo.
@echo *** nmake params are: %tv_NMAKE_OPTS% >> .\txt\output.txt
@REM ***********************************************************************
@REM ** Debug builds:
@echo Building MyAddon... (DEBUG)
@echo *********************************************************************** >> .\txt\output.txt
@echo Building MyAddon... (DEBUG) >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f myaddon.mak CFG="myaddon - Win32 Debug" >> .\txt\output.txt
@echo Building C++ VSL... (DEBUG)
@echo *********************************************************************** >> .\txt\output.txt
@echo Building C++ VSL... (DEBUG) >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f cppvsl.mak CFG="cppvsl - Win32 Debug" >> .\txt\output.txt
@echo Building C++ executable... (DEBUG)
@echo *********************************************************************** >> .\txt\output.txt
@echo Building C++ executable... (DEBUG) >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f cppexe.mak CFG="cppexe - Win32 Debug" >> .\txt\output.txt
@echo Building C VSL... (DEBUG)
@echo *********************************************************************** >> .\txt\output.txt
@echo Building C VSL... (DEBUG) >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f cvsl.mak CFG="cvsl - Win32 Debug" >> .\txt\output.txt
@echo Building C executable... (DEBUG)
@echo *********************************************************************** >> .\txt\output.txt
@echo Building C executable... (DEBUG) >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f cexe.mak CFG="cexe - Win32 Debug" >> .\txt\output.txt
@echo Building Both as VSL... (DEBUG)
@echo *********************************************************************** >> .\txt\output.txt
@echo Building Both as VSL... (DEBUG) >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f both.mak CFG="shellVSL - Win32 Debug" >> .\txt\output.txt
@echo Building Both as EXE... (DEBUG)
@echo *********************************************************************** >> .\txt\output.txt
@echo Building Both as EXE... (DEBUG) >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f both.mak CFG="shellEXE - Win32 Debug" >> .\txt\output.txt
@REM ***********************************************************************
@REM ** Release builds:
@echo Building MyAddon...
@echo *********************************************************************** >> .\txt\output.txt
@echo Building MyAddon... >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f myaddon.mak CFG="myaddon - Win32 Release" >> .\txt\output.txt
@echo Building C++ VSL...
@echo *********************************************************************** >> .\txt\output.txt
@echo Building C++ VSL... >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f cppvsl.mak CFG="cppvsl - Win32 Release" >> .\txt\output.txt
@echo Building C++ executable...
@echo *********************************************************************** >> .\txt\output.txt
@echo Building C++ executable... >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f cppexe.mak CFG="cppexe - Win32 Release" >> .\txt\output.txt
@echo Building C VSL...
@echo *********************************************************************** >> .\txt\output.txt
@echo Building C VSL... >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f cvsl.mak CFG="cvsl - Win32 Release" >> .\txt\output.txt
@echo Building C executable...
@echo *********************************************************************** >> .\txt\output.txt
@echo Building C executable... >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f cexe.mak CFG="cexe - Win32 Release" >> .\txt\output.txt
@echo Building Both as VSL...
@echo *********************************************************************** >> .\txt\output.txt
@echo Building Both as VSL... >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f both.mak CFG="shellVSL - Win32 Release" >> .\txt\output.txt
@echo Building Both as EXE...
@echo *********************************************************************** >> .\txt\output.txt
@echo Building Both as EXE... >> .\txt\output.txt
nmake %tv_NMAKE_OPTS% /f both.mak CFG="shellEXE - Win32 Release" >> .\txt\output.txt
@REM ***********************************************************************
@REM ** The end:
:DONE
set tv_NMAKE_OPTS=
@echo *********************************************************************** >> .\txt\output.txt
@echo *** End... >> .\txt\output.txt
@echo *********************************************************************** >> .\txt\output.txt
@echo.
@echo Done!
@echo.
@echo Nmake output has been saved in txt\output.txt
@echo.