You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
392 B
16 lines
392 B
set(CNAME "f2b") |
|
set(VERSION 0.07) |
|
|
|
project(${CNAME} C) |
|
cmake_minimum_required(VERSION 2.6) |
|
|
|
set(CMAKE_INSTALL_PREFIX "/usr/local") |
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic -std=c99") |
|
add_definitions("-D_XOPEN_SOURCE=600") |
|
|
|
include(CTest) |
|
|
|
add_subdirectory(src) |
|
add_subdirectory(t) |
|
|
|
set_property(DIRECTORY "t" PROPERTY COMPILE_FLAGS "-g;-ggdb;-Wall;-Wextra;-pedantic;-O0")
|
|
|