updated build system
Some checks are pending
BlockStorage/repertory/pipeline/head Build queued...

This commit is contained in:
2024-08-03 12:15:08 -05:00
parent 7a1fb4a790
commit 035f830b71
34 changed files with 32 additions and 27 deletions

View File

@ -105,7 +105,7 @@ function(add_project_test_executable name dependencies libraries)
enable_testing()
file(GLOB_RECURSE headers
${PROJECT_3RD_PARTY_DIR}/test/include/*.hpp
${PROJECT_SUPPORT_DIR}/test/include/*.hpp
${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/${name}/include/*.h
${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/${name}/include/*.hh
${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/${name}/include/${name}/include/*.hpp
@ -113,7 +113,7 @@ function(add_project_test_executable name dependencies libraries)
)
file(GLOB_RECURSE sources
${PROJECT_3RD_PARTY_DIR}/test/src/*.cpp
${PROJECT_SUPPORT_DIR}/test/src/*.cpp
${additional_sources}
${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/${name}/src/*.c
${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/${name}/src/*.cc
@ -130,7 +130,7 @@ function(add_project_test_executable name dependencies libraries)
)
target_include_directories(${name} AFTER PRIVATE
${PROJECT_3RD_PARTY_DIR}/test/include
${PROJECT_SUPPORT_DIR}/test/include
)
target_link_libraries(${name} PRIVATE