Add compiler settings like C standard and warning level.
This commit is contained in:
parent
440120f1da
commit
5f58ae8a39
|
@ -1,6 +1,8 @@
|
|||
cmake_minimum_required(VERSION 2.7)
|
||||
project(libds)
|
||||
|
||||
set_property(GLOBAL PROPERTY C_STANDARD 90)
|
||||
ADD_COMPILE_OPTIONS(-pedantic -Wall)
|
||||
include_directories(include)
|
||||
|
||||
add_library(ds src/libds.c src/vec.c src/ht.c)
|
||||
|
|
Loading…
Reference in New Issue
Block a user