From e499ac44cfb702e928fa0d5aa7dbc796cda6ec79 Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Fri, 14 Jun 2024 13:38:04 -0700 Subject: [PATCH] Added and included the "inc" directory in the project root. Also added in line to include the mocks dir --- CMakeLists.txt | 10 +++++++++- inc/.git_dir | 0 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 inc/.git_dir diff --git a/CMakeLists.txt b/CMakeLists.txt index 29662a1..d1b9750 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,9 +54,12 @@ if (UNIT_TESTING) include_directories( ${CPPUTEST_INCLUDE_DIRS} /usr/include/c++/11/ + ./inc + ./mocks ) link_directories(${CPPUTEST_LIBRARIES}) - + + add_subdirectory(mocks) add_subdirectory(tests) endif() @@ -65,4 +68,9 @@ endif() # PROJECT SPECIFIC # ####################################### + +include_directories( + ./inc +) + add_subdirectory(src) diff --git a/inc/.git_dir b/inc/.git_dir new file mode 100644 index 0000000..e69de29