Changed exeutable name test-main to peglib-test-main

This commit is contained in:
yhirose 2023-07-11 21:11:17 -04:00
parent b6ceab2554
commit abac8288f3

View File

@ -12,10 +12,10 @@ FetchContent_MakeAvailable(googletest)
enable_testing()
add_executable(test-main test1.cc test2.cc test3.cc)
add_executable(peglib-test-main test1.cc test2.cc test3.cc)
target_include_directories(test-main PRIVATE ..)
target_include_directories(peglib-test-main PRIVATE ..)
include(GoogleTest)
gtest_discover_tests(test-main)
target_link_libraries(test-main PRIVATE gtest_main)
gtest_discover_tests(peglib-test-main)
target_link_libraries(peglib-test-main PRIVATE gtest_main)