浏览代码

Changed command line argument to support older g++ versions

Fixing-travis-yml
BinHong Lee 7 年前
父节点
当前提交
08191e2766
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. +0
    -1
      .travis.yml
  2. +1
    -1
      build.xml
  3. +2
    -1
      install.sh

+ 0
- 1
.travis.yml 查看文件

@@ -1,5 +1,4 @@
sudo: required
g++: 4.8
language: cpp
install: ./install.sh
script: ant test

+ 1
- 1
build.xml 查看文件

@@ -82,7 +82,7 @@
<cc name="g++" outtype="executable" subsystem="console"
outfile="${dist.dir}/main"
objdir="${obj.dir}">
<compilerarg location="start" value="-std=c++11"/>
<compilerarg location="start" value="-std=c++0x"/>
<includepath>
<pathelement path="${includepath}"/>
</includepath>


+ 2
- 1
install.sh 查看文件

@@ -1,4 +1,5 @@
sudo apt-get install libjsonrpccpp-dev libjsonrpccpp-tools
sudo apt-get install libjsonrpccpp-dev libjsonrpccpp-tools libjsoncpp-dev
brew install libjson-rpc-cpp
cp lib/anttasks.jar ~
pushd ~
jar xf anttasks.jar


正在加载...
取消
保存