From b4740dcf8efdedf0d19f92d1aee78f3f9875d0b2 Mon Sep 17 00:00:00 2001 From: Giuseppe Fabiano Date: Sat, 15 Jan 2022 17:32:02 +0100 Subject: [PATCH] added compiles directive with cmakelists --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..d07d1d7 --- /dev/null +++ b/CMakeLists.txt @@ -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)