File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ _install/
5454 └── libhmac.a
5555```
5656
57+ Подключайте заголовки как ` <hmac_cpp/...> `
58+
5759Также в репозитории есть готовые ` .bat ` -файлы для сборки под MinGW: ` build_*.bat ` .
5860
5961## 📦 MQL5-совместимость
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ _install/
5454 └── libhmac_cpp.a
5555```
5656
57+ Include headers in your code as ` <hmac_cpp/...> `
58+
5759Predefined ` .bat ` scripts for MinGW builds are also available: ` build_*.bat ` .
5860
5961After installation, the package can be found and linked in other projects using ` find_package ` :
Original file line number Diff line number Diff line change 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
77void print_section (const std::string& title) {
88 std::cout << " === " << title << " ===" << std::endl;
Original file line number Diff line number Diff line change 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
99static std::vector<uint8_t > from_hex (const std::string& hex) {
1010 std::vector<uint8_t > out;
Original file line number Diff line number Diff line change 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
1010int main () {
1111 const std::string key = " supersecret" ;
You can’t perform that action at this time.
0 commit comments