added compiles directive with cmakelists

This commit is contained in:
Giuseppe Fabiano 2022-01-15 17:32:02 +01:00
parent bbdfaac381
commit b4740dcf8e
No known key found for this signature in database
GPG Key ID: E7F241CFB33B9889
1 changed files with 8 additions and 0 deletions

8
CMakeLists.txt Normal file
View File

@ -0,0 +1,8 @@
cmake_minimum_required(VERSION 3.14)
project(hmac-sha256)
add_library(hmac-sha256 STATIC hmac_sha256.c sha256.c )
install(TARGETS hmac-sha256 DESTINATION lib)
install(FILES hmac-sha256.h DESTINATION include)