Add initial CMakeLists file.
This commit is contained in:
parent
16c25a33a5
commit
29ae1ce5b4
14
CMakeLists.txt
Normal file
14
CMakeLists.txt
Normal 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)
|
Loading…
Reference in New Issue
Block a user