noloader / cryptopp-cmake

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

Disable build test cases when CRYPTOPP_BUILD_TESTING is OFF #96

Closed abdes closed 2 years ago

abdes commented 2 years ago

The standard-cpm test case is designed to run when cryptopp-cmake is the master project and should be disabled if it's not the case. It takes a very long time for no benefit when the project is used within another project.

The master project should set the CRYPTOPP_BUILD_TESTING option to OFF to disable that test and the crypto++ unit tests.