noloader / cryptopp-cmake

CMake files for Crypto++ project
BSD 3-Clause "New" or "Revised" License
92 stars 68 forks source link

Build compatible for Visual Studio 2019 & Android Studio #52

Closed lzy1g1225 closed 4 years ago

lzy1g1225 commented 4 years ago

I was trying to reference the cryptopp as a submodule, but they just failed to build directly in VS&AS IDE.(I knew it can be compiled mannually from cmake command line, but it's more complicated, for example, android studio has at least 4 architectures to build for the DLL) I have committed 2 pathches for both IDE. With this patch, the cryptopp can be built directly on VS&AS. And my project can reference and compile it together as a lib without mannual build each architectures or debug release versions. Tested on vs2019 cmake project and Android Studio 3.5.3 with NDK r20.

noloader commented 4 years ago

Thanks.