File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ project(cpp2sky
1010 HOMEPAGE_URL "https://github.com/SkyAPM/cpp2sky"
1111)
1212
13- option (OVERRIDE_CXX_STANDARD_FLAGS "Force building with -std=c++11 even if the CXXFLAGS are configured differently" ON )
13+ option (OVERRIDE_CXX_STANDARD_FLAGS "Force building with -std=c++17 even if the CXXFLAGS are configured differently" ON )
1414option (SPDLOG_FETCHCONTENT "Using spdlog FetchContent to build" ON )
1515option (FMTLIB_FETCHCONTENT "Using fmt FetchContent to build" ON )
1616option (HTTPLIB_FETCHCONTENT "Using httplib FetchContent to build" ON )
Original file line number Diff line number Diff line change 22
33![ cpp2sky test] ( https://github.com/SkyAPM/cpp2sky/workflows/cpp2sky%20test/badge.svg )
44
5- Distributed tracing and monitor SDK in CPP for Apache SkyWalking APM. This SDK is compatible with C++ 17, C++ 14, and C++ 11 .
5+ Distributed tracing and monitor SDK in CPP for Apache SkyWalking APM. This SDK requires C++17 or later .
66
77## Build
88
@@ -36,8 +36,8 @@ cc_binary(
3636You can compile this project, according to the following steps:
3737```
3838step 01: git clone [email protected] :SkyAPM/cpp2sky.git 39- step 02: git clone -b v9.1 .0 https://github.com/apache/skywalking-data-collect-protocol.git ./3rdparty/skywalking-data-collect-protocol
40- step 03: git clone -b v1.46.6 https://github.com/grpc/grpc.git --recursive
39+ step 02: git clone -b v10.3 .0 https://github.com/apache/skywalking-data-collect-protocol.git ./3rdparty/skywalking-data-collect-protocol
40+ step 03: git clone -b v1.74.1 https://github.com/grpc/grpc.git --recursive
4141step 04: cmake -S ./grpc -B ./grpc/build && cmake --build ./grpc/build --parallel 8 --target install
4242step 05: cmake -S . -B ./build && cmake --build ./build
4343```
@@ -54,8 +54,8 @@ pkg_check_modules(CPP2SKY_PKG REQUIRED cpp2sky)
5454```
5555
5656Note:
57- - If you want to build this project over c11, you must update grpc version(current version : v1 .46.6 ).
58- - Only test cmake using Centos and Ubuntu .
57+ - This project requires C++17 or later (enforced by gRPC v1.74.1 dependency ).
58+ - CMake builds are tested on Ubuntu and CentOS .
5959
6060#### Develop
6161
You can’t perform that action at this time.
0 commit comments