diff options
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | lily-test.h (renamed from src/lily-test.h) | 0 | ||||
-rw-r--r-- | tests/test.c (renamed from src/test.c) | 0 |
3 files changed, 2 insertions, 1 deletions
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") diff --git a/src/lily-test.h b/lily-test.h index 9f166b1..9f166b1 100644 --- a/src/lily-test.h +++ b/lily-test.h diff --git a/src/test.c b/tests/test.c index 85c1ad7..85c1ad7 100644 --- a/src/test.c +++ b/tests/test.c |