![]() Also see the wiki page config.h | assembly defines.ĭisables SSSE3 instructions. This is a fail safe option and it should not be needed. The table below provides CMake options to control library configurations.Įnables building the test drive program ( cryptest.exe).Įnables building documentation using Doxygen.ĭisables assembler and intrinsic code. DCMAKE_BUILD_TYPE=Release -DDISABLE_ASM=OFF For example, to enable a debeg configuration, perform the following.Ĭmake. To set an option, simply pass it to CMake using -D. To select a library configuration, use CMake options to control the library configuration. For example, it can be configured for a dbug build or a release build. 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. Additional thanks go to Anonimal, who also provided patches.ĬMake questions and bug reports should be reported at cryptopp-cmake. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |