On Sunday, June 28, 2015 at 8:35:44 PM UTC-7, Jeffrey Walton wrote: > > > On Sunday, June 28, 2015 at 9:58:15 PM UTC-4, Alex Afanasyev wrote: >> >> For my android project, I'm using CryptoPP library that is build using >> NDK (with CrystaX NDK https://www.crystax.net/, as google-provided NDK >> has a few issues). >> >> I think it would be useful to incorporate a simple Android.mk file into >> the main repository. Please see the pull request on github ( >> https://github.com/weidai11/cryptopp/pull/3) for more details. >> > > Alex, I'm not a Git expert, so I'm not sure about merge requests. Can you > provide a diff or email the Android.mk and Application.mk? >
In theory, merging pull request could be as simple as clicking button in github UI, though I usually don't do it this way. Here is a link to an updated patch https://github.com/cawka/cryptopp-1/commit/a462cf825b5859e30306bcb16e5301cd735f06c4.patch, which includes Android.mk, Application.mk for building stand-alone library and test suite, as well as two other .mk files (cryptopp-shared.mk and cryptopp-static.mk) for integration of the library in other project (if application includes Android.mk, it may unnecessarily build both library versions). > The Android.mk should build a static version of the library, a shared > object version of the library, and cryptest.exe. We need both versions of > the library to ensure users have a choice. We need cryptest.exe to push to > a device and ensure the library built correctly. For me, I'll know it works > if I can use ndk-build from the command line and it works and creates those > three artifacts. (This has been on my TODO list for some time). > > I'm also interested in getting a hold of a CmakeList.txt if you are > proficient in Cmake. > Unfortunately, I haven't worked with cmake a lot. --- Alex -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
