File: setup_googleTest.sh

package info (click to toggle)
kimageannotator 0.7.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,904 kB
  • sloc: cpp: 21,502; makefile: 16; ansic: 13
file content (7 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
#!/bin/bash

git clone --depth 1 https://github.com/google/googletest
cd googletest || exit
mkdir build && cd build || exit
cmake .. -G"${CMAKE_GENERATOR}" -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" -DBUILD_SHARED_LIBS=ON
${MAKE_BINARY} && ${MAKE_BINARY} install