Skip to content

Commit c7f5323

Browse files
authored
Add installation instructions.
1 parent ca4e18c commit c7f5323

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@ cmake .. -DCMAKE_BUILD_TYPE=Debug # Builds, tests and creates documentation
4848
cmake --build . --config Debug --target fluentcpp
4949
```
5050

51+
Lastly, to install the library on the system for use.
52+
53+
```bash
54+
55+
mkdir build && cd build
56+
cmake .. -DCMAKE_BUILD_TYPE=Release
57+
cmake --build . --config Release --target fluentcpp
58+
make install
59+
```
60+
61+
This will install artifacts in the ``/usr/local/lib/fluentcpp`` and ``/usr/local/include/fluentcpp`` directories so that they can be referenced as the usage example below (i.e. ``#include <fluentcpp/query.h``.
62+
5163
## Usage Examples
5264

5365
Find more in the [examples folder](https://github.com/awalsh128/fluentcpp/tree/master/examples).

0 commit comments

Comments
 (0)