From e201c080dda3523065f29554d907df087f5b48b2 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 20 Dec 2020 22:24:07 +0000 Subject: [PATCH] Add CMakeLists.txt --- CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..acc8f50 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required (VERSION 3.13) +project (libdeflate) + +file(GLOB_RECURSE SOURCE + "common/**/*.c" + "common/**/*.h" + "lib/*.c" + "lib/*.h" +) + +add_library(libdeflate libdeflate.h ${SOURCE}) +target_include_directories(libdeflate PUBLIC "${CMAKE_PROJECT_DIR}")