From b712a7ac4c6a7a8bb1d81d0adad8f98084b4d2fe Mon Sep 17 00:00:00 2001 From: sanine-a Date: Tue, 21 Dec 2021 11:00:32 -0600 Subject: refactor: move lily-test.h into root directory and move src/ -> tests/ --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 379417a..c856cb4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,8 @@ project( VERSION 0.1.0 DESCRIPTION "A super-simple single-header C test framework") -add_executable(lily-metatest ${CMAKE_SOURCE_DIR}/src/test.c) +include_directories(${CMAKE_SOURCE_DIR}) +add_executable(lily-metatest ${CMAKE_SOURCE_DIR}/tests/test.c) set_target_properties(lily-metatest PROPERTIES C_STANDARD 99 CMAKE_C_FLAGS "-Wall -Wextra -Werror -Wfatal-errors -Wpedantic") -- cgit v1.2.1