This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from prince-chrismc/contributing
Add CONTRIBUTING.md to help new contributors get started
- Loading branch information
Showing
4 changed files
with
45 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Contributing | ||
|
||
Any contribution is more the welcomed. | ||
|
||
> **Tip:** If you are working from VS Code, you can [install the recommended extensions](https://dev.to/askrishnapravin/recommend-vs-code-extensions-to-your-future-teammates-4gkb) to quickly get setup. | ||
## Working Locally | ||
|
||
After forking and cloning your repo, You'll need to install a few dependencies | ||
|
||
```sh | ||
sudo apt install libeigen3-dev libgtest-dev libgmock-dev | ||
``` | ||
|
||
Or you can use your favorite system installed. | ||
If you prefer C++ package managers, you can do | ||
|
||
- `vcpkg install eigen3 gtest` | ||
- `conan install --requires="eigen/[>=3 <4]" --requires="gtest/[>=1 <2]" --generator=CMakeDeps --output-folder=build` | ||
|
||
### Building the library | ||
|
||
```sh | ||
cmake -E make_directory build | ||
cd build | ||
|
||
cmake .. | ||
cmake --build . | ||
ctest . | ||
``` | ||
|
||
If you have any questions feel free to reach out on discord. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"recommendations": [ | ||
"ms-vscode.cpptools", | ||
"ms-vscode.cpptools-extension-pack", | ||
"ms-vscode.cmake-tools", | ||
"twxs.cmake" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters