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
79
-
(`/usr/local/[...]`), or to a specified installation prefix.
78
+
(`/usr/local/[…]`), or to a specified installation prefix. Example:
80
79
81
80
```shell
82
-
cmake --install
83
-
84
-
# Here is how to install dd-trace-cpp into `.install/` within the source
85
-
# repository.
86
-
# cmake --install build --prefix=.install
81
+
# Install dd-trace-cpp into `.install/` within the source repository.
82
+
cmake --install build --prefix=.install
87
83
```
88
84
89
85
### Optional: Linking to the shared library
@@ -111,18 +107,14 @@ Pass `-DDD_TRACE_BUILD_TESTING=1` to `cmake` to include the unit tests in the bu
111
107
112
108
The resulting unit test executable is `test/tests` within the build directory.
113
109
```shell
114
-
cmake -Bbuild -DDD_TRACE_BUILD_TESTING=1 ..
110
+
cmake -B build -DDD_TRACE_BUILD_TESTING=1 .
115
111
cmake --build build -j
116
112
./build/test/tests
117
113
```
118
114
119
115
Alternatively, [bin/test](bin/test) is provided for convenience.
120
116
121
-
Code coverage reports are available [here][2].
122
-
123
117
Contributing
124
118
------------
125
-
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