2 Star 1 Fork 0

user_8034861 / mockcpp_godsme

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build_install4gtest.sh 430 Bytes
一键复制 编辑 原始数据 按行查看 历史
hanbingtao 提交于 2012-06-16 09:59 . remove temporary file
#!/bin/bash
# build and install
# there is a $xunit_home/include/gtest/gtest.h
xunit_home=/usr/local
install_dir=/home/jelly/Programming/mockcpp-samples/mockcpp4gtest/mockcpp
function build() {
mkdir $1 2>/dev/null
cd $1
cmake -DCMAKE_INSTALL_PREFIX=$install_dir -DMOCKCPP_XUNIT=gtest -DMOCKCPP_XUNIT_HOME=$xunit_home $2
make install
}
build ../../build_mockcpp_to_install4gtest ../mockcpp/mockcpp
cd ../mockcpp/mockcpp
C++
1
https://gitee.com/oldrivers/mockcpp_godsme.git
git@gitee.com:oldrivers/mockcpp_godsme.git
oldrivers
mockcpp_godsme
mockcpp_godsme
master

搜索帮助