Skip to content

Commit f437cd5

Browse files
committed
docs(readme): clarify include path
Mention the <hmac_cpp/...> prefix in installation sections.\nUpdate examples to include headers with angle brackets.
1 parent afe7e36 commit f437cd5

5 files changed

Lines changed: 10 additions & 6 deletions

File tree

README-RU.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ _install/
5454
└── libhmac.a
5555
```
5656

57+
Подключайте заголовки как `<hmac_cpp/...>`
58+
5759
Также в репозитории есть готовые `.bat`-файлы для сборки под MinGW: `build_*.bat`.
5860

5961
## 📦 MQL5-совместимость

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ _install/
5454
└── libhmac_cpp.a
5555
```
5656

57+
Include headers in your code as `<hmac_cpp/...>`
58+
5759
Predefined `.bat` scripts for MinGW builds are also available: `build_*.bat`.
5860

5961
After installation, the package can be found and linked in other projects using `find_package`:

example.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include <iostream>
22
#include <string>
33
#include <stdexcept>
4-
#include "hmac_cpp/hmac.hpp"
5-
#include "hmac_cpp/hmac_utils.hpp"
4+
#include <hmac_cpp/hmac.hpp>
5+
#include <hmac_cpp/hmac_utils.hpp>
66

77
void print_section(const std::string& title) {
88
std::cout << "=== " << title << " ===" << std::endl;

example_pbkdf2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#include <string>
44
#include <vector>
55

6-
#include "hmac_cpp/hmac.hpp"
7-
#include "hmac_cpp/hmac_utils.hpp"
6+
#include <hmac_cpp/hmac.hpp>
7+
#include <hmac_cpp/hmac_utils.hpp>
88

99
static std::vector<uint8_t> from_hex(const std::string& hex) {
1010
std::vector<uint8_t> out;

example_streaming.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include <string>
55

66
// stream large files in chunks and verify
7-
#include "hmac_cpp/hmac.hpp"
8-
#include "hmac_cpp/hmac_utils.hpp"
7+
#include <hmac_cpp/hmac.hpp>
8+
#include <hmac_cpp/hmac_utils.hpp>
99

1010
int main() {
1111
const std::string key = "supersecret";

0 commit comments

Comments
 (0)