From f4fd89c776c9dccecc661058d272c7b252f6e85c Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 28 Jan 2021 21:42:35 +0100 Subject: conf: add cmake for tests --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index c830847..07e12fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,5 @@ project(hmacsha256) include_directories(include) -file(GLOB SOURCES "src/*.cc") - -add_executable(hmacsha256 ${SOURCES}) +add_subdirectory(src) +add_subdirectory(tests) -- cgit v1.2.3-18-g5258