Restructure the source tree to have tests and impl files in src

This commit is contained in:
Sameer Rahmani 2021-04-13 13:53:12 +01:00
parent 38089606c1
commit 3223fc6944
30 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
# The compiled library code is here
add_subdirectory(src)
add_subdirectory(src/serene)
# The executable code is here
add_subdirectory(bin)
@ -111,7 +111,7 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
# Emergency override SERENE_CMAKE_BUILD_TESTING provided as well
if(BUILD_TESTING)
message("Build the test binary")
add_subdirectory(tests)
add_subdirectory(src/tests)
endif()
if (CMAKE_BUILD_TYPE STREQUAL "Release")