cryptopp-cmake icon indicating copy to clipboard operation
cryptopp-cmake copied to clipboard

CMake files for Crypto++ project

Results 13 cryptopp-cmake issues
Sort by recently updated
recently updated
newest added

Several compile definitions in `CRYPTOPP_COMPILE_DEFINITIONS` weren't prefixed with `-D`, which caused compilation errors for me on Windows with CMake 2.21. I've gone through and added the prefix to every one...

Otherwise, if you run `cmake -D DISABLE_ASM=ON . && make VERBOSE=1` you will get a compiler invocation like /usr/bin/c++ **-DCRYPTOPP_DISABLE_ASM** -O2 -g -DNDEBUG -fPIC **CRYPTOPP_DISABLE_ASM** -o CMakeFiles/cryptopp-object.dir/cryptlib.cpp.o -c /path/cryptopp/cryptlib.cpp with...

Hello, I'm having trouble compiling the app for Android from Windows x64, using MinGW32. I get an error as soon as compilation starts: > clang++.exe: error: unsupported option '--sysroot C:/AndroidPlayerNDK/toolchains/llvm/prebuilt/windows-x86_64/sysroot...

help wanted

I've added two new CMake policies ([CMP0077](https://cmake.org/cmake/help/v3.13/policy/CMP0077.html) and [CMP0126](https://cmake.org/cmake/help/v3.21/policy/CMP0126.html)) for better integration as a subproject after PR #85. --- I've committed an unwanted change in the previous PR (#85), apologies...

Use the same pattern as CMake's CHECK_CXX_COMPILER_FLAG and similar functions to avoid executing these tests every time a project is reconfigured. These tests only need to run if the compiler...

I added support for cmake's FetchContent to just get the source when it's needed. This has the same effect as #54 without the need of keeping the versions in sync....

It's not possible to build with ninja on linux, you get the following error: ``` ninja: warning: phony target 'cryptest.exe' names itself as an input; ignoring [-w phonycycle=warn] ninja: error:...

There's a comment in the readme about not being able to add this as a submodule to cryptopp, but why not do it the other way around? It makes it...

Find out the source code version from header file config_ver.h, so we don't need to set it mannually

The above solution doesn't work for me... But I found another solution: According to the answer here: https://stackoverflow.com/questions/40577415/detect-availablility-of-sdkddkver-h-and-winapifamily-h-from-developer-comman The CMakeList.txt can be modified like this.