Kaynağa Gözat

Changed command line argument to support older g++ versions

Fixing-travis-yml
BinHong Lee 7 yıl önce
ebeveyn
işleme
08191e2766
3 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. +0
    -1
      .travis.yml
  2. +1
    -1
      build.xml
  3. +2
    -1
      install.sh

+ 0
- 1
.travis.yml Dosyayı Görüntüle

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

+ 1
- 1
build.xml Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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


Yükleniyor…
İptal
Kaydet