테스트 구조 완성, 코딩 스타일 교정 기능 추가 쓸데없는 설정파일들 정리

This commit is contained in:
2025-09-01 02:29:37 +09:00
parent e26d20a869
commit b123b2ecdb
16 changed files with 208 additions and 204 deletions

8
tests/CMakeLists.txt Normal file
View File

@@ -0,0 +1,8 @@
file(GLOB_RECURSE TEST_SOURCES "*.cpp" "*.cxx" "*.cc")
foreach(test_src ${TEST_SOURCES})
get_filename_component(test_name ${test_src} NAME_WE)
add_executable(${test_name} ${test_src})
target_link_libraries(${test_name} PRIVATE ${BOT_NAME}_lib)
add_test(NAME ${test_name} COMMAND ${test_name})
endforeach()