Revision 1128 trunk/scripts/admb/adcomp.bat

adcomp.bat (revision 1128)
21 21
:ENDLOOP
22 22

  
23 23
set model=%~n1
24
if defined CXXFLAGS (set CXXFLAGS=%CXXFLAGS% )
25 24

  
25
call "%ADMB_HOME%"\bin\admb-cfg.bat
26
if defined CXXFLAGS (
27
  set CXXFLAGS=%CXXFLAGS% %ADMB_CFG_CXXFLAGS%
28
) else (
29
  set CXXFLAGS=%ADMB_CFG_CXXFLAGS%
30
)
31

  
26 32
set CMD=g++ -c %CXXFLAGS% %sym% -D__GNUDOS__ %dll% -Dlinux %opt% -DUSE_LAPLACE -fpermissive -I. -I"%ADMB_HOME%\include" -I"%ADMB_HOME%\contrib\include" -o %model%.obj %model%.cpp
27 33
echo %CMD%
28 34
%CMD%

Also available in: Unified diff