tmp
Some checks failed
Windows / build (push) Has been cancelled
CMake on a single platform / build (push) Has been cancelled
CMake / build (push) Has been cancelled

This commit is contained in:
Шурупов Илья Викторович 2025-11-24 18:24:00 +03:00
parent a7b9feaedc
commit 0f15c37c2e
10 changed files with 522 additions and 1 deletions

View file

@ -1,5 +1,7 @@
project(Containers)
include(GoogleTest)
### ---------------------- Static Library --------------------- ###
file(GLOB SOURCES "./private/*.cpp")
file(GLOB HEADERS "./public/*.hpp")
@ -25,5 +27,10 @@ target_link_libraries(Tests${PROJECT_NAME} ${PROJECT_NAME} UnitTest++)
add_test(NAME Tests${PROJECT_NAME} COMMAND Tests${PROJECT_NAME})
add_executable(testLinearRingBuffer ./tests/testLinearRingBuffer.cpp)
target_link_libraries(testLinearRingBuffer ${PROJECT_NAME} gtest)
gtest_discover_tests(testLinearRingBuffer)
add_executable(AVLTreeSpeedTest ./tests/AVLTreeProfiling.cpp)
target_link_libraries(AVLTreeSpeedTest ${PROJECT_NAME})