From 79683c63c64519b72001ab19f0f45f6d71ec57dc Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Tue, 20 Dec 2016 23:28:18 -0800 Subject: [PATCH] Add CMakeLists file - set up CMake. --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..42907ae --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,9 @@ +cmake_minimum_required(VERSION 2.7) +project(libds) + +include_directories(include) + +add_library(ds src/libds.c src/vec.c) +add_executable(libds src/main.c) + +target_link_libraries(libds ds)