Revision 917 trunk/scripts/cl/adcomp.bat

adcomp.bat (revision 917)
10 10
  if "!arg:~0,1!"=="-" (
11 11
    if "%%a"=="-d" set dll=/DBUILDING_DLL
12 12
    @REM if "%%a"=="-r" shift
13
    if "%%a"=="-s" set g=/Z7 & set opt=/DSAFE_ALL
13
    if "%%a"=="-s" set opt=/DSAFE_ALL
14
    if "%%a"=="-g" set DEBUG=/Z7
14 15
  ) else (
15 16
    if "%%~xa"=="" (
16 17
      set file=%%a.cpp
......
23 24
if not defined opt set opt=/DOPT_LIB 
24 25

  
25 26
@echo on
26
cl -c /EHsc /Ox /DUSE_LAPLACE /DWIN32 %opt% %dll% /D__MSVC32__=8 /I. /I"%ADMB_HOME%"\include /I"%ADMB_HOME%"\contrib\include %file%
27
cl /c /EHsc /Ox %DEBUG% /DUSE_LAPLACE /DWIN32 %opt% %dll% /D__MSVC32__=8 /I. /I"%ADMB_HOME%"\include /I"%ADMB_HOME%"\contrib\include %file%
27 28
@echo off
28 29

  
29 30
goto EOF

Also available in: Unified diff