summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-01-28 21:42:35 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-01-28 21:42:35 +0100
commitf4fd89c776c9dccecc661058d272c7b252f6e85c (patch)
treea1a7ea7f041bc3a1d033b6d257b2c534a31d694f /src
parent938bd7bbf0f617d44ed9659addca3a4879948551 (diff)
conf: add cmake for tests
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..3175597
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,6 @@
+include_directories(${PROJECT_SOURCE_DIR}/include)
+
+file(GLOB SOURCES "*.cc")
+
+add_library(sha256 sha256.cc)
+add_executable(${CMAKE_PROJECT_NAME} ${SOURCES})