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}")