This commit is contained in:
Ivan
2022-04-05 11:42:28 +03:00
commit 6dc0eb0fcf
5565 changed files with 1200500 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# CLI11 Meson test / example
Requirements: meson, ninja
## Build
```bash
meson build
ninja -C build
```

View File

@@ -0,0 +1,17 @@
// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner
// under NSF AWARD 1414736 and by the respective contributors.
// All rights reserved.
//
// SPDX-License-Identifier: BSD-3-Clause
#include <CLI/CLI.hpp>
int main(int argc, char **argv) {
CLI::App app{"App description"};
std::string filename = "default";
app.add_option("-f,--file", filename, "A help string");
CLI11_PARSE(app, argc, argv);
return 0;
}

View File

@@ -0,0 +1,5 @@
project('mesonTest', ['c', 'cpp'], default_options: ['cpp_std=c++11'])
cli11_dep = subproject('CLI11').get_variable('CLI11_dep')
mainExe = executable('main', ['main.cpp'], dependencies: [cli11_dep])

View File

@@ -0,0 +1 @@
../../..