Older/UnitTest/CMakeLists.txt
amass dc5b750056
Some checks failed
Deploy / Build (push) Failing after 53s
add webrtc test.
2025-01-12 00:46:14 +08:00

23 lines
498 B
CMake

find_package(Boost REQUIRED COMPONENTS unit_test_framework)
# --detect_memory_leak=0 --run_test=MarkdownParserTest,ProcessUtilityTest
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(UnitTest main.cpp
DatabaseTest.cpp
MailTest.cpp
)
target_compile_definitions(UnitTest
PRIVATE BOOST_TEST_NO_MAIN
PUBLIC LOG_FILTER_LEVEL=1
)
target_link_libraries(UnitTest
PRIVATE Boost::unit_test_framework
PRIVATE Database
)
add_subdirectory(WebRTCClient)