Skip to content

Commit

Permalink
doc: specified #include to add
Browse files Browse the repository at this point in the history
  • Loading branch information
Svalorzen committed Nov 27, 2024
1 parent 57fb07f commit 91d0df1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ To use GitHash in your project, you need to:
```
add_subdirectory(<GitHash_Dir_Path>)`
```
- Add the following include where you need it:
```
#include "GitHash.hpp"
```
- Use these variables in your C++ files:
```
GitHash::branch; // C-string
Expand Down

0 comments on commit 91d0df1

Please sign in to comment.