From 91d0df1260bdfd69a04cb3d17a49dce0c4d3c24a Mon Sep 17 00:00:00 2001 From: Svalorzen Date: Wed, 27 Nov 2024 19:31:22 +0100 Subject: [PATCH] doc: specified #include to add --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 832ba5d..e68812e 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,10 @@ To use GitHash in your project, you need to: ``` add_subdirectory()` ``` +- Add the following include where you need it: + ``` + #include "GitHash.hpp" + ``` - Use these variables in your C++ files: ``` GitHash::branch; // C-string