feat(crypto): harden Crypto primitives and add optional CryptoAsync adapter
This commit is contained in:
1 parent
8a1c15f9c0
commit
eb42228604
14 files changed
+2448
-90
No files matched your search
@@ -161,6 +161,24 @@ if(_has_log)
|
||||
run_consumer(LogOnly "${install_prefix}" "LogOnly" ${_no_external_deps})
|
||||
endif()
|
||||
|
||||
has_modules(_has_crypto Crypto Functional)
|
||||
if(_has_crypto)
|
||||
run_consumer(CryptoOnly "${install_prefix}" "CryptoOnly"
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_LibArchive=TRUE
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=TRUE
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_SQLite3=TRUE)
|
||||
endif()
|
||||
|
||||
has_modules(_has_crypto_async CryptoAsync Crypto IO Async Time Functional)
|
||||
if(_has_crypto_async)
|
||||
run_consumer(CryptoAsyncOnly "${install_prefix}" "CryptoAsyncOnly"
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_LibArchive=TRUE
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=TRUE
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_SQLite3=TRUE)
|
||||
endif()
|
||||
|
||||
# Foundation consumer with Core-formatting bridge and zero external packages.
|
||||
has_modules(_has_foundation Math Text Time Functional Binary FunctionalCoreFormatting Memory Core)
|
||||
if(_has_foundation)
|
||||
|
||||
Reference in new issue
Block a user