
The Crypto++ library can be configured to suit your particular needs. CMake creates out-of-source builds, so all the build artifacts are created in a separate directory, leaving the original source directory untouched.

If the library is built and your are trying to CMake find it, then see CMake link to external library on Stack Overflow.įirst, create a directory outside the source directory, for example /home/user/cryptopp-build, then cd into it. This section provides instructions on using CMake to build the library. Please do not ask questions or report bugs at the Crypto++ GitHub. CMake bug reports should be reported at cryptopp-cmake. Additional thanks go to Anonimal, who also provided patches.ĬMake questions should be asked on the mailing list. Special thanks to GamePad64, who made early contributions and wrote the initial wiki page. Many thanks to the folks who contributed to the CMake task. Crypto++ attempts to minimize external dependencies like Autotools and CMake, so CMake will likely never be part of the official sources. If you built the Crypto++ library using the makefile or MSBuild then you can incorporate it into a CMake project by following CMake link to external library.Ī related topic is Requirements. (Our unofficial Android.mk and Autotools are separate projects, too). It is a separate project to ensure folks don't accidentally use it. If you have an improvement, then make the change and submit a pull request. If you want to use CMake then download it from GitHub | cryptopp-cmake. The CMake project files are now maintained by the community, and not the library. The mailing list discussion is at Remove CMake from GitHub add it to Patch Page on wiki?, and the check-in of interest is Commit 913a9e60d375e458. CMake was removed from the library prior to the release of Crypto++ 6.0. Its appealing to use CMake because it supports so many platforms.Ĭrypto++ 5.6.3 through 5.6.5 provided limited Cmake support. CMake supports various platforms, including Windows desktops and servers, Windows Phone, Windows Store, Linux, OS X, Android, iOS, Solaris, Unix and others. CMake is a build process manager designed to be used with the native build system of the platform.
