This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
c2445d3dfd
CMake
/
Tests
/
CMakeTests
/
File-SHA256-Works.cmake
3 lines
87 B
CMake
Raw
Normal View
History
Unescape
Escape
Fix CMake.File hash test for CRLF checkouts Use a dedicated test input file for the file() hash API tests. Set attribute crlf=input so it is always checked out correctly.
2011-11-16 20:26:10 +04:00
file
(
SHA256
${
CMAKE_CURRENT_LIST_DIR
}
/File-HASH-Input.txt
sha256
)
Add file(SHA*) commands to compute cryptographic hashes Add a file() command API for SHA1, SHA224, SHA256, SHA384, and SHA512.
2011-11-16 05:32:43 +04:00
message
(
"${sha256}"
)