Add initial CMakeLists file.

This commit is contained in:
Danila Fedorin 2018-02-10 13:38:15 -08:00
parent 16c25a33a5
commit 29ae1ce5b4

14
CMakeLists.txt Normal file
View File

@ -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)