Revision 1935 trunk/scripts/admb/admb.bat

admb.bat (revision 1935)
157 157
    )
158 158
  )
159 159
  if not exist !ADMB_HOME!\contrib\lib\contrib.lib (
160
    set CXXFLAGS=!CXXFLAGS! /DUSE_LAPLACE /I. /I"!ADMB_HOME!\include" /I"!ADMB_HOME!\include\contrib"
160
    set CXXFLAGS=!CXXFLAGS! /I. /I"!ADMB_HOME!\include" /I"!ADMB_HOME!\include\contrib"
161 161
  ) else (
162
    set CXXFLAGS=!CXXFLAGS! /DUSE_LAPLACE /I. /I"!ADMB_HOME!\include" /I"!ADMB_HOME!\contrib\include"
162
    set CXXFLAGS=!CXXFLAGS! /I. /I"!ADMB_HOME!\include" /I"!ADMB_HOME!\contrib\include"
163 163
  )
164 164
) else (
165 165
  if not defined CXX (
......
213 213
    set CXXFLAGS=!CXXFLAGS! -DBUILDING_DLL
214 214
  )
215 215
  if not exist !ADMB_HOME!\contrib\lib\libcontrib.a (
216
    set CXXFLAGS=!CXXFLAGS! -DUSE_LAPLACE -fpermissive -I. -I!ADMB_HOME!\include -I!ADMB_HOME!\include\contrib
216
    set CXXFLAGS=!CXXFLAGS! -fpermissive -I. -I!ADMB_HOME!\include -I!ADMB_HOME!\include\contrib
217 217
  ) else (
218
    set CXXFLAGS=!CXXFLAGS! -DUSE_LAPLACE -fpermissive -I. -I!ADMB_HOME!\include -I!ADMB_HOME!\contrib\include
218
    set CXXFLAGS=!CXXFLAGS! -fpermissive -I. -I!ADMB_HOME!\include -I!ADMB_HOME!\contrib\include
219 219
  )
220 220
)
221 221
set PATH=!ADMB_HOME!\bin;!ADMB_HOME!\utilities\mingw\bin;!PATH!

Also available in: Unified diff