Skip to content

Tutorial

simfeo edited this page Feb 20, 2022 · 9 revisions

Step 1: get library

First of all clone repository to your local disk.

You can get library via git way:

Alternatively you can download zip line with source code by this link. Unpack zip file to desired location.

If you putted library under your projects root "argparse.h" file of library will be visible for search. Otherwise don't forget to add library location to "includes search paths" according to you build system rules.

After that you can finally use library.

Step 2 : checking library is visible for your project

First of all add library to your cpp source file. It should look somthing like

#include "ArgParse/argparse.h" or #include <argparse.h> depending to where you put file and where build system searches includes.

If build succeed after that then you can go to next step. If not then you should fix errors related with includes.

Step 3: using the library

Clone this wiki locally