maybe this will work for travis
This commit is contained in:
parent
3891bb0a55
commit
96413dc6f2
2 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
|
4
Makefile
4
Makefile
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue