1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/bin/bash
# Builds and tests libLAS
source ./bin/ci/common.sh
mkdir -p _build
cd _build
echo "$(tmstamp) *** script::cmake-config starting $(date) ***"
cmake .. -DWITH_GDAL=ON -DWITH_GEOTIFF=ON
echo "$(tmstamp) *** script::cmake-config finished $(date) ***"
echo "$(tmstamp) *** script::cmake-build make -j ${NUMTHREADS} $(date) ***"
make -j ${NUMTHREADS}
echo "$(tmstamp) *** script::cmake-build finished $(date) ***"
echo "$(tmstamp) *** script::cmake-test starting $(date) ***"
ctest -V --output-on-failure .
echo "$(tmstamp) *** script::cmake-test finished $(date) ***"
|