From e16bda06a4f7a64940685918a7b5f425a5b0d4dd Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Thu, 3 Jun 2021 00:56:18 +0200 Subject: [PATCH] Readme.md --- readme.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index dc73f30..fb7f8c2 100644 --- a/readme.md +++ b/readme.md @@ -25,6 +25,16 @@ Hazelnupp args; args.SetCrashOnFail(false); ``` +## Importing into a project +> How do i actually import this into my existing project? + +I am working on a proper way to make this a fast-and-easy include. +I am probably going to make it a single-header--single-cpp file solution. +A namespace will obviously also be used. + +If you want to use it NOW, the best idea would probably be to either compile a lib from source +or set the entire Visual Studio project as a dependency, if you are using VS. + ## What's the concept? The concept is that each parameter must be one of five types. These are: * Void @@ -106,7 +116,7 @@ int main(int argc, char** argv) { Hazelnupp args(argc, argv); - const auto& myList = args["--my-list"]->GetList(); // std::vector + const auto& myList = args["--my-list.GetList(); // std::vector for (const auto* it : myList) {