maybe this will work for travis

This commit is contained in:
David Renshaw 2014-05-15 23:05:31 -04:00
parent 3891bb0a55
commit 96413dc6f2
2 changed files with 3 additions and 3 deletions

View file

@ -13,4 +13,4 @@ install:
- export CC=gcc-4.8
- export CXX=g++-4.8
- cd capnproto-c++-0.4.1 && ./configure && make -j5 && sudo make install && cd ..
script: make CXX=g++-4.8
script: make CXX=g++-4.8 CXX_FLAGS="std=c++11 -I/usr/local/include -L/usr/local/lib -lcapnp -lkj"

View file

@ -12,10 +12,10 @@ clean :
sbt clean
capnpc-java : $(CAPNPC_JAVA_SOURCES)
$(CXX) $(CXX_FLAGS) -g $(CAPNPC_JAVA_SOURCES) -o capnpc-java
$(CXX) $(CAPNPC_JAVA_SOURCES) $(CXX_FLAGS) -g -o capnpc-java
addressbook : capnpc-java
PWD=pwd
mkdir examples/src/main/generated
mkdir -p examples/src/main/generated
capnp compile -I$(PWD)/generator/src/main/cpp/compiler --src-prefix=examples/src/main/schema -o./capnpc-java:examples/src/main/generated examples/src/main/schema/addressbook.capnp
sbt examples/"compile"