noloader / cryptopp-cmake

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

Cache results of check compile/link operations #77

Closed johnkeeping closed 2 years ago

johnkeeping commented 3 years ago

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 changes and CMake automatically invalidates all cached data when that happens.

abdes commented 2 years ago

Integrated in the latest master branch. Thank you.