diff --git a/README-RU.md b/README-RU.md index 3479a26..8d9cb5c 100644 --- a/README-RU.md +++ b/README-RU.md @@ -54,6 +54,8 @@ _install/ └── libhmac.a ``` +Подключайте заголовки как `` + Также в репозитории есть готовые `.bat`-файлы для сборки под MinGW: `build_*.bat`. ## 📦 MQL5-совместимость diff --git a/README.md b/README.md index 0457e09..8d74c59 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,8 @@ _install/ └── libhmac_cpp.a ``` +Include headers in your code as `` + Predefined `.bat` scripts for MinGW builds are also available: `build_*.bat`. After installation, the package can be found and linked in other projects using `find_package`: diff --git a/example.cpp b/example.cpp index 7fd336f..56b77bb 100644 --- a/example.cpp +++ b/example.cpp @@ -1,8 +1,8 @@ #include #include #include -#include "hmac_cpp/hmac.hpp" -#include "hmac_cpp/hmac_utils.hpp" +#include +#include void print_section(const std::string& title) { std::cout << "=== " << title << " ===" << std::endl; diff --git a/example_pbkdf2.cpp b/example_pbkdf2.cpp index 822139e..475dada 100644 --- a/example_pbkdf2.cpp +++ b/example_pbkdf2.cpp @@ -3,8 +3,8 @@ #include #include -#include "hmac_cpp/hmac.hpp" -#include "hmac_cpp/hmac_utils.hpp" +#include +#include static std::vector from_hex(const std::string& hex) { std::vector out; diff --git a/example_streaming.cpp b/example_streaming.cpp index dd8b970..1146e50 100644 --- a/example_streaming.cpp +++ b/example_streaming.cpp @@ -4,8 +4,8 @@ #include // stream large files in chunks and verify -#include "hmac_cpp/hmac.hpp" -#include "hmac_cpp/hmac_utils.hpp" +#include +#include int main() { const std::string key = "supersecret";