Commit cb153b70 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'master' into 'master'

Build gtest in install/gtest



See merge request !2
parents b606c5a7 d27e63b7
Pipeline #138 failed with stage
#! /bin/bash
set -e
set -x
root=${PWD}
if [ ! -d install/MTL ]; then
mkdir -p install/MTL.tmp
cd install/MTL.tmp
mkdir -p install/MTL
cd install/MTL
curl -o MTL.tar.gz "http://www.simunova.com/downloads/mtl4/MTL-4.0.9555-Linux.tar.gz"
tar --strip-components=2 -xf MTL.tar.gz
cd ..
mv MTL.tmp MTL
rm MTL.tar.gz
cd ${root}
fi
if [ ! -d install/gtest ]; then
mkdir -p install/gtest
cd install/gtest
cmake -DCMAKE_INSTALL_PREFIX=${root}/install/gtest /usr/src/gtest
make
cd ${root}
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment