You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation places a shared library and public headers into the appropriate system directories
78
-
(`/usr/local/[...]`), or to a specified installation prefix.
78
+
(`/usr/local/[…]`), or to a specified installation prefix. Example:
79
79
80
80
```shell
81
-
cmake --install
82
-
83
-
# Here is how to install dd-trace-cpp into `.install/` within the source
84
-
# repository.
85
-
# cmake --install build --prefix=.install
81
+
# Install dd-trace-cpp into `.install/` within the source repository.
82
+
cmake --install build --prefix=.install
86
83
```
87
84
88
85
### Optional: Linking to the shared library
@@ -110,18 +107,14 @@ Pass `-DDD_TRACE_BUILD_TESTING=1` to `cmake` to include the unit tests in the bu
110
107
111
108
The resulting unit test executable is `test/tests` within the build directory.
112
109
```shell
113
-
cmake -Bbuild -DDD_TRACE_BUILD_TESTING=1 ..
110
+
cmake -B build -DDD_TRACE_BUILD_TESTING=1 .
114
111
cmake --build build -j
115
112
./build/test/tests
116
113
```
117
114
118
115
Alternatively, [bin/test](bin/test) is provided for convenience.
119
116
120
-
Code coverage reports are available [here][2].
121
-
122
117
Contributing
123
118
------------
124
-
See the [contributing guidelines](CONTRIBUTING.md) and the [maintainer docs](doc/maintainers.md) for information on the overall structure of the repository.
0 commit comments