4dd489c9fb
All checks were successful
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m9s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m8s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m20s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m29s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m28s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m39s
linux-x64-gcc / linux-gcc (push) Successful in 1m56s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (pull_request) Successful in 1m21s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (pull_request) Successful in 1m16s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (pull_request) Successful in 1m24s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (pull_request) Successful in 1m26s
linux-hisiv500-gcc / linux-gcc-hisiv500 (pull_request) Successful in 1m45s
linux-mips64-gcc / linux-gcc-mips64el (pull_request) Successful in 1m45s
linux-x64-gcc / linux-gcc (pull_request) Successful in 2m3s
26 lines
792 B
CMake
26 lines
792 B
CMake
set(CMAKE_CXX_STANDARD 11)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
set(CMAKE_C_STANDARD 11)
|
|
set(CMAKE_C_STANDARD_REQUIRED ON)
|
|
|
|
add_executable(
|
|
ulib_test
|
|
ulib/base/types_unittest.cpp
|
|
ulib/log/log_unittest.cpp
|
|
ulib/concorrency/mutex_unittest.cpp
|
|
ulib/concorrency/event_unittest.cpp
|
|
ulib/concorrency/countdown_latch_unittest.cpp
|
|
ulib/system/thread_unittest.cpp
|
|
ulib/system/thread_pool_unittest.cpp
|
|
ulib/system/timer_unittest.cpp
|
|
3party/eventbus/eventbus_unittest.cpp
|
|
3party/inja/inja_unittest.cpp
|
|
3party/optional/optional_unittest.cpp
|
|
3party/sqlpp11/sqlpp11_unittest.cpp
|
|
ulib/utils/defer_unittest.cpp
|
|
ulib/utils/utils_unittest.cpp
|
|
ulib/status_or_unittest.cpp)
|
|
target_link_libraries(ulib_test PRIVATE ulib gtest gtest_main)
|
|
|
|
add_test(NAME ulib_test COMMAND ulib_test)
|