1#!/usr/bin/env sh 2set -evx 3env | sort 4 5mkdir build || true 6mkdir build/$GTEST_TARGET || true 7cd build/$GTEST_TARGET 8cmake -Dgtest_build_samples=ON \ 9 -Dgmock_build_samples=ON \ 10 -Dgtest_build_tests=ON \ 11 -Dgmock_build_tests=ON \ 12 -DCMAKE_CXX_FLAGS=$CXX_FLAGS \ 13 ../../$GTEST_TARGET 14make 15make test 16