Files
cpp-core/c++/setup-autotools.sh

18 lines
679 B
Bash
Executable File

#! /usr/bin/env bash
set -euo pipefail
if [ ! -e gtest ]; then
echo "================================================================================"
echo "Fetching Google Test code..."
echo "================================================================================"
git clone -b release-1.7.0 https://github.com/google/googletest.git gtest
fi
echo "================================================================================"
echo "Done"
echo "================================================================================"
echo
echo "Ready to run autoreconf. For example:"
echo " autoreconf -i && ./configure && make -j6 check && sudo make install"