msvc71engmatopts - set DEBUGFLAGS=-Zi

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
@echo off rem MSVC71ENGMATOPTS.BAT rem rem Compile and link options used for building standalone engine or MAT programs rem with Microsoft Visual C++ compiler version 7.1 rem rem $Revision: 1.1.6.5 $ $Date: 2007/02/02 23:11:11 $rem rem rem rem ******************************************************************** rem General parameters rem ******************************************************************** set MATLAB=%MATLAB% set VCINSTALLDIR=%VS71COMNTOOLS%\. .\. . set MSVCDir=%VCINSTALLDIR%\VC7 set DevEnvDir=%MSVCDir%\. .\Common7\Tools set PATH=%MSVCDir%\BIN;%DevEnvDir%;%DevEnvDir%\bin;%MSVCDir%\. .\Common7\IDE; %MATLAB_BIN%;%PATH%; set INCLUDE=%MSVCDir%\INCLUDE;%MSVCDir%\PlatformSDK\Include;%INCLUDE% set LIB=%MSVCDir%\PlatformSDK\lib;%MSVCDir%\LIB;%MATLAB%\extern\lib\win32;%LIB% set MW_TARGET_ARCH=win32 rem ******************************************************************** rem Compiler parameters rem ******************************************************************** set COMPILER=cl set OPTIMFLAGS=-O2 -DNDEBUG
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: set DEBUGFLAGS=-Zi -Fd"%OUTDIR%%MEX_NAME%.pdb" set COMPFLAGS=-c -Zp8 -G5 -W3 -EHs -nologo set NAME_OBJECT=/Fo rem ******************************************************************** rem Linker parameters rem ******************************************************************** set LIBLOC=%MATLAB%\extern\lib\win32\microsoft set LINKER=link set LINKFLAGS=/LIBPATH:"%LIBLOC%" libmx.lib libmat.lib libeng.lib /nologo /MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib set LINKOPTIMFLAGS= set LINKDEBUGFLAGS=/debug set LINK_FILE= set LINK_LIB= set NAME_OUTPUT="/out:%OUTDIR%%MEX_NAME%.exe" set RSP_FILE_INDICATOR=@ rem ******************************************************************** rem Resource compiler parameters rem ******************************************************************** set RC_COMPILER= set RC_LINKER=...
View Full Document

Ask a homework question - tutors are online