comparison src/ltpda_smoother/mexopts_XP64bit.bat @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 @echo off
2 rem msvc90freeopts.BAT
3 rem
4 rem Compile and link options used for building MEX-files
5 rem using the Microsoft Visual C++ 2008 Express Edition compiler.
6 rem
7 rem $Revision: 1.3 $ $Date: 2009/08/19 10:52:59 $
8 rem
9 rem ********************************************************************
10 rem General parameters
11 rem ********************************************************************
12 set MATLAB=%MATLAB%
13 set VS90COMNTOOLS=%VS90COMNTOOLS%
14 set VSINSTALLDIR=%VS90COMNTOOLS%\..\..
15 set VCINSTALLDIR=%VSINSTALLDIR%\VC
16 set MSSdk=C:\Program Files\Microsoft SDKs\Windows\v6.1\
17 set LINKERDIR=%MSSdk%
18 set MW_TARGET_ARCH=win64
19 set PATH=%VCINSTALLDIR%\BIN\amd64;%LINKERDIR%\bin\x64;%LINKERDIR%\bin\win64\x64;%LINKERDIR%\bin;%VSINSTALLDIR%\Common7\IDE;%VSINSTALLDIR%\SDK\v3.5\bin\amd64;%VSINSTALLDIR%\Common7\Tools;%VSINSTALLDIR%\Common7\Tools\bin;%VCINSTALLDIR%\VCPackages;%MATLAB_BIN%;%PATH%
20 set INCLUDE=%VCINSTALLDIR%\ATLMFC\INCLUDE;%VCINSTALLDIR%\INCLUDE;%LINKERDIR%\INCLUDE;%VSINSTALLDIR%\SDK\v3.5\include;%INCLUDE%
21 set LIB=%VCINSTALLDIR%\ATLMFC\LIB\amd64;%VCINSTALLDIR%\LIB\amd64;%LINKERDIR%\Lib\x64;%VSINSTALLDIR%\SDK\v3.5\lib\amd64;%MATLAB%\extern\lib\%MW_TARGET_ARCH%;%LIB%
22
23 rem ********************************************************************
24 rem Compiler parameters
25 rem ********************************************************************
26 set COMPILER=cl
27 set COMPFLAGS=/c /Zp8 /GR /W3 /EHsc- /Zc:wchar_t- /DMATLAB_MEX_FILE
28 set OPTIMFLAGS=/MD /O2 /Oy- /DNDEBUG
29 set DEBUGFLAGS=/MD /Zi /Fd"%OUTDIR%%MEX_NAME%%MEX_EXT%.pdb"
30 set NAME_OBJECT=/Fo
31
32 rem ********************************************************************
33 rem Linker parameters
34 rem ********************************************************************
35 set LIBLOC=%MATLAB%\extern\lib\%MW_TARGET_ARCH%\microsoft
36 set LINKER=link
37 set LINKFLAGS=/dll /export:%ENTRYPOINT% /MAP /LIBPATH:"%LIBLOC%" libmx.lib libmex.lib libmat.lib /implib:%LIB_NAME%.x /MACHINE:X64 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
38 set LINKOPTIMFLAGS=
39 set LINKDEBUGFLAGS=/DEBUG /PDB:"%OUTDIR%%MEX_NAME%%MEX_EXT%.pdb"
40 set LINK_FILE=
41 set LINK_LIB=
42 set NAME_OUTPUT=/out:"%OUTDIR%%MEX_NAME%%MEX_EXT%"
43 set RSP_FILE_INDICATOR=@
44
45 rem ********************************************************************
46 rem Resource compiler parameters
47 rem ********************************************************************
48 set RC_COMPILER=rc /fo "%OUTDIR%mexversion.res"
49 set RC_LINKER=
50
51 set POSTLINK_CMDS=del "%OUTDIR%%MEX_NAME%.map"
52 set POSTLINK_CMDS1=del %LIB_NAME%.x
53 set POSTLINK_CMDS2=mt -outputresource:"%OUTDIR%%MEX_NAME%%MEX_EXT%";2 -manifest "%OUTDIR%%MEX_NAME%%MEX_EXT%.manifest"
54 set POSTLINK_CMDS3=del "%OUTDIR%%MEX_NAME%%MEX_EXT%.manifest"