mirror of
https://github.com/red0124/ssp.git
synced 2025-02-02 16:51:12 +01:00
add test_main to CMakeList
This commit is contained in:
parent
f2c157efc3
commit
2765cb467f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user