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
349ea3f6e6
CMake
/
Tests
/
CMakeTests
/
File-SHA1-Works.cmake
3 lines
81 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
(
SHA1
${
CMAKE_CURRENT_LIST_DIR
}
/File-HASH-Input.txt
sha1
)
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
(
"${sha1}"
)