Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake install rules #80

Merged
merged 5 commits into from
Dec 6, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/getting_started/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,18 @@ make
```
Running Cmake will create `crow_all.h` file and place it in the build directory.
ayaankhan98 marked this conversation as resolved.
Show resolved Hide resolved

##Installing Crow

if you wish to use crow globally without copying `crow_all.h` in your projects, you can install `crow` on your machine by using `make install` command instead of `make` after `cmake..`. Thus, the procedure will look like
ayaankhan98 marked this conversation as resolved.
Show resolved Hide resolved

```
mkdir build
cd build
cmake ..
make install
```
`make install` will copy `crow_all.h` automatically in your `/usr/local/include` thus making it available globally for use.<br>

You can run tests with following commands:
```
ctest -V
ayaankhan98 marked this conversation as resolved.
Show resolved Hide resolved
Expand Down