Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ project(cpp2sky
HOMEPAGE_URL "https://github.com/SkyAPM/cpp2sky"
)

option(OVERRIDE_CXX_STANDARD_FLAGS "Force building with -std=c++11 even if the CXXFLAGS are configured differently" ON)
option(OVERRIDE_CXX_STANDARD_FLAGS "Force building with -std=c++17 even if the CXXFLAGS are configured differently" ON)
option(SPDLOG_FETCHCONTENT "Using spdlog FetchContent to build" ON)
option(FMTLIB_FETCHCONTENT "Using fmt FetchContent to build" ON)
option(HTTPLIB_FETCHCONTENT "Using httplib FetchContent to build" ON)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![cpp2sky test](https://github.com/SkyAPM/cpp2sky/workflows/cpp2sky%20test/badge.svg)

Distributed tracing and monitor SDK in CPP for Apache SkyWalking APM. This SDK is compatible with C++ 17, C++ 14, and C++ 11.
Distributed tracing and monitor SDK in CPP for Apache SkyWalking APM. This SDK requires C++17 or later.

## Build

Expand Down Expand Up @@ -36,8 +36,8 @@ cc_binary(
You can compile this project, according to the following steps:
```
step 01: git clone [email protected]:SkyAPM/cpp2sky.git
step 02: git clone -b v9.1.0 https://github.com/apache/skywalking-data-collect-protocol.git ./3rdparty/skywalking-data-collect-protocol
step 03: git clone -b v1.46.6 https://github.com/grpc/grpc.git --recursive
step 02: git clone -b v10.3.0 https://github.com/apache/skywalking-data-collect-protocol.git ./3rdparty/skywalking-data-collect-protocol
step 03: git clone -b v1.74.1 https://github.com/grpc/grpc.git --recursive
step 04: cmake -S ./grpc -B ./grpc/build && cmake --build ./grpc/build --parallel 8 --target install
step 05: cmake -S . -B ./build && cmake --build ./build
```
Expand All @@ -54,8 +54,8 @@ pkg_check_modules(CPP2SKY_PKG REQUIRED cpp2sky)
```

Note:
- If you want to build this project over c11, you must update grpc version(current version:v1.46.6).
- Only test cmake using Centos and Ubuntu.
- This project requires C++17 or later (enforced by gRPC v1.74.1 dependency).
- CMake builds are tested on Ubuntu and CentOS.

#### Develop

Expand Down
Loading