Branch
Hash :
6c57bac6
Author :
Date :
2022-06-14T22:29:10
sha256: make sha256 an experimental optional feature libgit2 can be built with optional, experimental sha256 support. This allows consumers to begin testing and providing feedback for our sha256 support while we continue to develop it, and allows us to make API breaking changes while we iterate on a final sha256 implementation. The results will be `git2-experimental.dll` and installed as `git2-experimental.h` to avoid confusion with a production libgit2.
if(EXPERIMENTAL_SHA256)
add_feature_info("SHA256 API" ON "experimental SHA256 APIs")
set(EXPERIMENTAL 1)
set(GIT_EXPERIMENTAL_SHA256 1)
else()
add_feature_info("SHA256 API" OFF "experimental SHA256 APIs")
endif()
if(EXPERIMENTAL)
set(LIBGIT2_FILENAME "${LIBGIT2_FILENAME}-experimental")
endif()