root/library/mex/mexopts-opt.bat @ 367

Revision 316, 1.7 kB (checked in by mido, 16 years ago)

v mych WIN XP bezi buildmex.bat! vyhledove to zobecnime na vsechny WIN XP/VS 9.0

Line 
1@echo off
2rem
3rem    Compile and link options used for building MIXPP MEX-files
4rem    using the Microsoft Visual Studio 9.0
5rem
6rem ********************************************************************
7rem General parameters
8rem ********************************************************************
9set MATLAB=%MATLAB%
10set MSVCDir=D:\Visual Studio 9.0\VC
11set PATH=%MSVCDir%\bin;%MATLAB_BIN%;%PATH%;
12set INCLUDE=%MSVCDir%\INCLUDE;%INCLUDE%
13set LIB=%MSVCDir%\LIB;%MATLAB%\extern\lib\win32;%LIB%
14rem ********************************************************************
15rem Compiler parameters
16rem ********************************************************************
17set COMPILER=cl
18set COMPFLAGS=-c -Zp8 -W3 -DMATLAB_MEX_FILE -nologo
19set OPTIMFLAGS=/MD -O2 -Oy- -DNDEBUG
20set DEBUGFLAGS=/MDd -Zi -Fd"%OUTDIR%%MEX_NAME%.pdb"
21set NAME_OBJECT=/Fo
22
23rem ********************************************************************
24rem Linker parameters
25rem ********************************************************************
26set LIBLOC=%MATLAB%\extern\lib\win32\microsoft\msvc70
27set LINKER=link
28set LINKFLAGS=/dll /export:%ENTRYPOINT% /MAP /LIBPATH:"%LIBLOC%" libmx.lib libmex.lib libmat.lib /implib:%LIB_NAME%.x
29set LINKOPTIMFLAGS=
30set LINKDEBUGFLAGS=/debug
31set LINK_FILE=
32set LINK_LIB=
33set NAME_OUTPUT=/out:"%OUTDIR%%MEX_NAME%.dll"
34set RSP_FILE_INDICATOR=@
35
36rem ********************************************************************
37rem Resource compiler parameters
38rem ********************************************************************
39set RC_COMPILER=rc /fo "%OUTDIR%mexversion.res"
40set RC_LINKER=
41
42set POSTLINK_CMDS=del "%OUTDIR%%MEX_NAME%.map"
43set POSTLINK_CMDS1=del %LIB_NAME%.x
Note: See TracBrowser for help on using the browser.