9 lines
322 B
CMake
9 lines
322 B
CMake
add_executable(gtest_log gtest_log.cpp)
|
|
target_link_libraries(gtest_log logger gtest)
|
|
target_include_directories(gtest_log PUBLIC ${CMAKE_SOURCE_DIR}/deps/logger)
|
|
|
|
include(GoogleTest)
|
|
gtest_discover_tests(gtest_log)
|
|
|
|
file(COPY ./conf/log_file.toml DESTINATION ./conf/)
|
|
file(COPY ./conf/log_stderr.toml DESTINATION ./conf/) |