set(CMAKE_CXX_STANDARD 98) set(CMAKE_CXX_STANDARD_REQUIRED ON) add_executable(ulib_test src/ulib/base/types_test.cpp src/ulib/log/log_test.cpp ) target_link_libraries(ulib_test PRIVATE ulib gtest gtest_main) add_test(NAME ulib_test COMMAND ulib_test)