blob: f7acc8a84a72a2aa0f7bce355c62ea4ea16921df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
cmake_minimum_required(VERSION 3.2)
project(
lily-test
VERSION 0.1.0
DESCRIPTION "A super-simple single-header C test framework")
include_directories(${CMAKE_SOURCE_DIR})
set (TEST_SRC ${CMAKE_SOURCE_DIR}/tests)
add_executable(lily-metatest
${TEST_SRC}/main.c
${TEST_SRC}/helpers.c)
set_target_properties(lily-metatest PROPERTIES
C_STANDARD 99
CMAKE_C_FLAGS "-Wall -Wextra -Werror -Wfatal-errors -Wpedantic")
|