Hi! You can use CMake based build and pass -DBUILD_TESTING=NO option to disable building of the tests. This also works with Android cmake toolchain.
Autotools based build seems to not have such an option. On Friday, 17 August 2018 06:46:27 UTC+2, Amit S wrote: > > Hi, > > > I am trying to build capnproto for Android. > > I am able to cross compile the library partially. As in the `make` command > generates libcapnp, but it's not building libcapnp-josn* libraries. > > The reason being, `make` command stops at execution of > `test_capnpc_middleman` as the test doesn't run on Linux machine since the > files are cross-compiled. > > When I commented the steps inside the rule `test_capnpc_middleman`, I was > able to compile and build all the required shared libraries. > > Any suggestions on how to skip the tests execution from `make` command? > > or If required, I can submit a PR for targeting cross-compile build where > the test is not executed during make. > > Please advice. > > > -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/capnproto.
