From 29ae1ce5b49d9dfe6a5087892e207e3693cb1342 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 10 Feb 2018 13:38:15 -0800 Subject: [PATCH] Add initial CMakeLists file. --- CMakeLists.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..4372b92 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 2.7) + +if(TARGET abacus) + return() +endif(TARGET abacus) + +project(libabacus) + +add_compile_options(-pedantic -Wall) + +add_executable(libabacus src/main.c) + +set_property(TARGET libabacus PROPERTY C_STANDARD 90) +target_include_directories(libabacus PUBLIC include)