ulib/tests/CMakeLists.txt
tqcq 03ccb8bdec
Some checks failed
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 1m1s
linux-x64-gcc / linux-gcc (push) Failing after 50s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m1s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m7s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m24s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m5s
rpcrypto-build / build (Debug, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 1m7s
rpcrypto-build / build (Release, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 1m7s
rpcrypto-build / build (Release, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 1m12s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m7s
rpcrypto-build / build (Debug, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 1m16s
fix log
2023-12-11 12:57:02 +08:00

14 lines
293 B
CMake

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)