1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-30 04:33:53 +00:00

25 Commits

Author SHA1 Message Date
Doug Johnston
901b3c24f3 Add CMake install command for include files if CUR_PROJ is true 2018-02-15 08:03:10 +01:00
Henry Schreiner
37667f523d Adding simple flag callback (#33)
* Addind simple flag callback

* Give flag function a new name, old name only on C++14

* Fixing reference to destroyed function

* Better GCC 4.7 support, travis prepared for C++17 (not used yet)

* Updating documentation
2017-09-11 11:45:00 -04:00
Henry Schreiner
657b599b52 Cmake cleanup (#21)
* Fixes for #8, vars hidden and findPython used

* Adding compat with default python, better defaults
2017-06-05 11:22:09 -04:00
Henry Schreiner
0da8fa9411 Msvc warn fix (#20)
* Remove windows warning, use secure getenv

* Fix typo in last commit

* Fix typo in windows version

* Fix another typo in windows version

* Fixing error, dropping warn suppression
2017-06-05 10:21:55 -04:00
Henry Fredrick Schreiner
774bb5d05f Cleaner IDE folder structure 2017-06-02 09:03:38 -04:00
Henry Fredrick Schreiner
44f43bd621 Adding clang tidy details 2017-05-31 10:44:09 -04:00
Henry Fredrick Schreiner
1b2ebc420b Simpler check for MSVC 2017-03-27 16:10:15 -04:00
Henry Fredrick Schreiner
fe79eb5820 Trying to fix windows build 2017-03-27 16:05:37 -04:00
Henry Fredrick Schreiner
ee9219e0f8 Adding warnings and fixes, CLI11 target, support for VIM Syntastic 2017-03-27 13:53:57 -04:00
Henry Schreiner
89ed072f39 Codecov (#5)
* Adding first try at coverage

* Fix for CMakeLists

* Fix for wrong shell

* Fixes to Coverage

* Fix for missing coverage

* Adding badge

* Using repo token

* Adding test files to coverage

* Fix typo

* Adding codecov

* Fix for code coverage

* Fix single file tests under CodeCov

* Seperating coverage steps

* Fix testrunner to be ctest

* Fix constant rebuilding of doxygen

* Adding coverage, tested locally

* Adding compiler version to gcov

* Fixing code coverage gcov download and use

* Adding Coverage build type with some fixes

* Better way of using gcc

* Adding coverage badge

* Removing tests from calcs
2017-03-07 16:17:30 -05:00
Henry Schreiner
27d120e7b8 Cleaner import 2017-03-07 13:32:39 -05:00
Henry Fredrick Schreiner
81f58c130a Fixing for IDE builds 2017-02-24 13:16:11 -05:00
Henry Fredrick Schreiner
4b07ef52d5 Fixes for Windows warnings 2017-02-20 14:14:11 -05:00
Henry Fredrick Schreiner
e60e5c2dc3 Trying to fix GoogleTest build 2017-02-19 15:35:06 -05:00
Henry Fredrick Schreiner
bde789e2d8 Hopefully changing googletest options 2017-02-19 15:29:04 -05:00
Henry Fredrick Schreiner
8725de6706 Fixes to enable windows compat 2017-02-19 15:08:09 -05:00
Henry Fredrick Schreiner
22612c512c Fixing warning add 2017-02-19 14:31:11 -05:00
Henry Fredrick Schreiner
26fa59b745 Build CLI11 when option is on but tests are not built 2017-02-14 12:32:15 -05:00
Henry Fredrick Schreiner
2b40b8cbd3 Removing automatic testing with single file, kept on travis 2017-02-14 12:26:07 -05:00
Henry Fredrick Schreiner
1bf66bc3e5 Moved to storing unique_ptr of Options, better support for --help 2017-02-07 14:00:03 -05:00
Henry Fredrick Schreiner
494a65f812 Dropping Make syntax, moving to pointers from combiners, structured errors.
This mostly is cleanup, with fewer alternative methods and more standard syntax, avoiding the use of the namespace all the time. Validators are simpler and are added through `->check()`.

Defaults are automatic, and can be specified with a final arg to the options.

Expected arguments and required arguments are now accessed through a pointer to option.

Option now can be checked as a bool to see if the argument was passed.

Errors have better organisation.
2017-02-06 20:52:12 -05:00
Henry Fredrick Schreiner
ee5678562f Adding tools to build with python 3.6 directly 2017-02-06 11:51:06 -05:00
Henry Fredrick Schreiner
5959ae456b spacing fix 2017-01-28 13:15:17 -05:00
Henry Fredrick Schreiner
3eac26e2e1 Adding DownloadProject to cmake 2017-01-27 09:40:45 -05:00
Henry Fredrick Schreiner
d070f32ed6 Adding cmake, tests 2017-01-26 16:48:30 -05:00