mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
This commit is contained in:
parent
676c696173
commit
43c6240c97
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user