1 add_definitions(-DSDDEBUG)
2 if(CMAKE_COMPILER_IS_GNUCC)
3 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -fstrict-aliasing -Wstrict-aliasing -ansi")
6 set(libsd_srcs randomkit.c sd_dat.c sd_hist.c sd_net.c sd_out.c
7 sd_scheme.c sd_solv.c sd_sparse.c sd_sys.c sd_sys_wc.c
8 sd_util.c sd_malloc.c sd_test.c)
9 add_library(sk ${libsd_srcs})
12 target_link_libraries(sk m)