feature set test standard c++11
Some checks failed
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Failing after 34s
rpcrypto-build / build (Debug, hisiv500.toolchain.cmake) (push) Failing after 45s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Failing after 32s
rpcrypto-build / build (Debug, host.toolchain.cmake) (push) Failing after 22s
rpcrypto-build / build (Debug, mips64el-linux-gnuabi64.toolchain.cmake) (push) Failing after 39s
rpcrypto-build / build (Debug, host-afl.toolchain.cmake) (push) Failing after 3m0s
rpcrypto-build / build (Debug, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 34s
rpcrypto-build / build (Debug, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 42s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Failing after 54s
rpcrypto-build / build (Release, hisiv500.toolchain.cmake) (push) Failing after 34s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Failing after 43s
rpcrypto-build / build (Release, host-afl.toolchain.cmake) (push) Failing after 51s
rpcrypto-build / build (Release, host.toolchain.cmake) (push) Failing after 28s
rpcrypto-build / build (Release, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 36s
rpcrypto-build / build (Release, mips64el-linux-gnuabi64.toolchain.cmake) (push) Failing after 10m40s
rpcrypto-build / build (Release, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 10m25s

This commit is contained in:
tqcq 2023-12-05 10:08:21 +08:00
parent 3a2b1018d2
commit 72d93cb058
2 changed files with 7 additions and 4 deletions

View File

@ -1,8 +1,9 @@
cmake_minimum_required(VERSION 3.10)
project(ulib LANGUAGES CXX VERSION 0.1.0)
option(ULIB_BUILD_TESTS "Build tests" OFF)
project(ulib LANGUAGES CXX VERSION 0.1.0)
find_package(Threads REQUIRED)
set(CMAKE_CXX_STANDARD 98)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
@ -36,6 +37,10 @@ if (ULIB_BUILD_TESTS)
add_executable(ulib_test ""
src/base/location_unittest.cpp)
set_target_properties(ulib_test PROPERTIES
CXX_STANDARD 11
CXX_STANDARD_REQUIRED YES
CXX_EXTENSIONS NO)
target_link_libraries(ulib_test PRIVATE
ulib

View File

@ -1,5 +1,3 @@
# ulib
基于C++11的框架
[![Build Status](https://ci.uocat.com/api/badges/tqcq/ulib/status.svg)](https://ci.uocat.com/tqcq/ulib)
基于C++98的框架