Added and included the "inc" directory in the project root. Also added in line to include the mocks dir
This commit is contained in:
parent
e4a6978b57
commit
e499ac44cf
|
@ -54,9 +54,12 @@ if (UNIT_TESTING)
|
||||||
include_directories(
|
include_directories(
|
||||||
${CPPUTEST_INCLUDE_DIRS}
|
${CPPUTEST_INCLUDE_DIRS}
|
||||||
/usr/include/c++/11/
|
/usr/include/c++/11/
|
||||||
|
./inc
|
||||||
|
./mocks
|
||||||
)
|
)
|
||||||
link_directories(${CPPUTEST_LIBRARIES})
|
link_directories(${CPPUTEST_LIBRARIES})
|
||||||
|
|
||||||
|
add_subdirectory(mocks)
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
@ -65,4 +68,9 @@ endif()
|
||||||
# PROJECT SPECIFIC
|
# PROJECT SPECIFIC
|
||||||
# #######################################
|
# #######################################
|
||||||
|
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
./inc
|
||||||
|
)
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
Loading…
Reference in New Issue