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

Create cmake target #61

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ zigzag_encode(mysignedints, myunsignedints, number); // mysignedints => myunsign
zigzag_decode(myunsignedints, mysignedints, number); // myunsignedints => mysignedints
```

Installation (CMake)
----------------

```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing "mkdir build?". Note that you can do cmake -B build ....

cmake -DCMAKE_BUILD_TYPE=Release ..
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We default on release.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still good to spell it out because under Windows, it must be spelt out.

cmake --build .
sudo cmake --install .
```

Installation
----------------

Expand Down