ulib/tests/CMakeLists.txt
tqcq 7ab767bfd6
Some checks failed
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m16s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m15s
rpcrypto-build / build (Debug, hisiv500.toolchain.cmake) (push) Successful in 1m20s
rpcrypto-build / build (Debug, host.toolchain.cmake) (push) Failing after 2m28s
rpcrypto-build / build (Debug, mips64el-linux-gnuabi64.toolchain.cmake) (push) Successful in 1m12s
rpcrypto-build / build (Debug, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Successful in 1m9s
rpcrypto-build / build (Debug, mipsel-openwrt-linux.toolchain.cmake) (push) Successful in 1m10s
rpcrypto-build / build (Debug, host-afl.toolchain.cmake) (push) Successful in 3m3s
rpcrypto-build / build (Release, hisiv500.toolchain.cmake) (push) Successful in 1m15s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m31s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m16s
rpcrypto-build / build (Release, host-afl.toolchain.cmake) (push) Successful in 1m51s
rpcrypto-build / build (Release, mips64el-linux-gnuabi64.toolchain.cmake) (push) Successful in 1m15s
rpcrypto-build / build (Release, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Successful in 1m19s
rpcrypto-build / build (Release, mipsel-openwrt-linux.toolchain.cmake) (push) Successful in 1m24s
rpcrypto-build / build (Release, host.toolchain.cmake) (push) Failing after 2m33s
feature add ulib_test
2023-12-05 16:00:41 +08:00

13 lines
264 B
CMake

set(CMAKE_CXX_STANDARD 98)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(ulib_test
src/ulib/sigslot/sigslot_test.cpp)
target_link_libraries(ulib_test PRIVATE
ulib
gtest
gtest_main)
add_test(NAME ulib_test COMMAND ulib_test)