#!/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=$MATLAB_DIR \
	--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-lib="$ISSM_DIR_WIN/externalpackages/petsc/install/lib/libpetsc.lib" \
	--with-mpi-include="$ISSM_DIR_WIN/externalpackages/petsc/install/include/mpiuni" 
