#!/bin/sh

#Dos style path needed for the windows sdk 7.1 cl compiler: 
ISSM_DIR_WIN=`cygpath -m "$ISSM_DIR"`

#get configure.sh to pick up the win7 Visual Studio compiler 
./configure --prefix=$ISSM_DIR \
	--with-vendor=intel-win7-64  \
	--with-matlab-dir="C:/MATLAB/R2012b/"\
	--with-triangle-dir="$ISSM_DIR_WIN/externalpackages/triangle/install" \
	--with-metis-dir="$ISSM_DIR_WIN/externalpackages/metis/install" \
	--with-petsc-dir="$ISSM_DIR_WIN/externalpackages/petsc/install" \
	--with-petsc-arch=$ISSM_ARCH  \
	--with-blas-lapack-dir="$ISSM_DIR/externalpackages/petsc/install/lib"  \
	--with-mpi-include="C:/MPICH2/include" \
	--with-mpi-libflags="-LC:/MPICH2/lib mpi.lib"

