blob: 461b18cfee471aefe18d0b729b43192dc28b78b2 [file] [log] [blame]
Yong Li8f0c0482017-09-01 00:32:09 +08001#!/bin/sh
2
3#Currently there are some build errors with the pre-instaleld libgtest-dev, as a workaround, we can build it with these steps(first time only):
4#cd googletest/googletest/
5#cmake ./
6#make
7#sudo make install
8
9cd `dirname $0`
10#update source code
11#git pull
12git submodule init
13git submodule sync
14git submodule update
15
16mkdir -p build
17cd build
18cmake .. -DHUNTER_ENABLED=ON
19make -j$(nproc)