mirror of
https://github.com/red0124/ssp.git
synced 2025-12-14 21:59:55 +01:00
add test_main to CMakeList
This commit is contained in:
@@ -28,7 +28,7 @@ include(doctest)
|
||||
|
||||
enable_testing()
|
||||
|
||||
foreach(name IN ITEMS test_parser test_converter test_extractions)
|
||||
foreach(name IN ITEMS test_main test_parser test_converter test_extractions)
|
||||
add_executable("${name}" "${name}.cpp")
|
||||
target_link_libraries("${name}" PRIVATE ssp::ssp doctest::doctest)
|
||||
target_compile_definitions("${name}" PRIVATE CMAKE_GITHUB_CI)
|
||||
|
||||
Reference in New Issue
Block a user