mirror of
https://github.com/p-ranav/argparse
synced 2026-06-08 16:35:45 +00:00
97204363b5
Upstream StaticAnalysis looks to be changing for more flexibility with source files to process. While these changes may eventually benefit argparse, the public interfaces are in flux and we need a stable tool. argparse also needs a SA change which is not yet upstream. Trying to run clang-tidy via StaticAnalysis on a single file in a directory with many source file is not easy, so move the analysis kernel to a location (i.e. tools) where it is the only C++ source file. Another benefit is cppcheck no longer needs to be told to ignore the test sources. Signed-off-by: Sean Robinson <sean.robinson@scottsdalecc.edu>
Argparse Tests
Linux
$ mkdir build
$ cd build
$ cmake ../.
$ make
$ ./tests
Windows
- Generate Visual Studio solution
$ mkdir build
$ cd build
$ cmake ../. -G "Visual Studio 15 2017"
- Open ARGPARSE.sln
- Build tests in RELEASE | x64
- Run tests.exe