This commit is contained in:
Ward Fisher 2012-07-20 19:17:33 +00:00
parent 676c696173
commit 43c6240c97

View File

@ -29,11 +29,15 @@ echo ""
BDIR="build_test"
LOGFILE="../build_test_output.txt"
echo `date` > $LOGFILE
BLDTYPE=""
if [ `uname -a | cut -d" " -f 1` = "MINGW32_NT-6.1" ]; then
BLDTYPE='-G"MSYS Makefiles"'
fi
BUILDTYPE='-DBUILD_SHARED_LIBS=OFF -DBUILD_SHARED_LIBS=ON '
HDF5OPS='-DUSE_HDF5=OFF -DUSE_HDF5=ON '
DAPOPS='-DBUILD_DAP=OFF -DBUILD_DAP=ON '
DISKLESSOPS='-DBUILD_DISKLESS=OFF -DBUILD_DISKLESS=ON '
BUILDTYPE='-DBUILD_SHARED_LIBS=OFF -DBUILD_SHARED_LIBS=ON'
HDF5OPS='-DUSE_HDF5=OFF -DUSE_HDF5=ON'
DAPOPS='-DBUILD_DAP=OFF -DBUILD_DAP=ON'
DISKLESSOPS='-DBUILD_DISKLESS=OFF -DBUILD_DISKLESS=ON'
# Track configs which configurations fail.
CMAKEFAILS=""
@ -49,7 +53,7 @@ for BT in $BUILDTYPE; do
for HOPS in $HDF5OPS; do
for DOPS in $DAPOPS; do
for DIOPS in $DISKLESSOPS; do
CUROPS="$BT $HOPS $DOPS $DIOPS $MMAPOPS"
CUROPS="$BLDTYPE $BT $HOPS $DOPS $DIOPS $MMAPOPS"
echo "Options: $CUROPS"
cmake $CUROPS .. >> $LOGFILE