BlitzWare Auth C++ basic example.
Disclaimer: this is just very basic implementations of our api, modify it to your needs!
- open cmd as admin
- go to a directory where you want to install vcpkg
git clone https://github.com/Microsoft/vcpkg.git
(or just download the .zip file).\vcpkg\bootstrap-vcpkg.bat
cd vcpkg
vcpkg install cpr --triplet x64-windows-static
vcpkg install cpr --triplet x86-windows-static
vcpkg install curl --triplet x64-windows-static
vcpkg install curl --triplet x86-windows-static
vcpkg install nlohmann-json --triplet x64-windows-static
vcpkg install nlohmann-json --triplet x86-windows-static
vcpkg install openssl --triplet x64-windows-static
vcpkg install openssl --triplet x86-windows-static
vcpkg integrate install
- restart your IDE (Visual Studio)
- Project->Properties->Configuration Properties->vcpkg->"Use Vcpkg":"Yes" and "Use Static Libraries":"Yes"