1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-29 04:03:52 +00:00

62 Commits

Author SHA1 Message Date
Henry Schreiner
9549c6287f
Clean up sdist creation (#422)
* Adding package to release

* Fix build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Cleaner, tigher packages

* Do not add package to release
2020-01-31 13:17:11 -05:00
KOLANICH
4903b698a9 Enhancements in building deb packages: (#399)
* Fixed building deb packages, broken because of lack contact field.
* Added some missing metadata.
* Set the name according to the convention.
2020-01-13 10:40:34 -05:00
Henry Fredrick Schreiner
7f47f9926f Fix for install=off 2020-01-09 09:53:58 -05:00
Henry Schreiner
0cc8806ec5 fixup! CMake updates from @slurps-mad-rips 2020-01-09 09:53:58 -05:00
Isabella Muerte
60e2932356 CMake updates from @slurps-mad-rips 2020-01-09 09:53:58 -05:00
Henry Schreiner
c356ec8702 Adding CMake 3.4 check, 2x faster CUDA build 2020-01-09 09:53:58 -05:00
Henry Schreiner
8570ffb564
Check for switch enum (#393)
* Check for switch enum

* Add missing cases
2020-01-08 10:17:36 -05:00
Henry Schreiner
ab94ee7e81 clang-tidy correctly run by CI 2020-01-06 14:16:36 -05:00
Henry Schreiner
ed7e0dcdeb Fix compiler warnings with -Wsign-conversion 2019-12-31 10:35:24 -05:00
Philip Top
73950eb6a2 add a cmakeLists for the book (#374)
* add a cmakeLists for the book to add a project in visual studio so the book can be edited with the code

* remove trailing whitespace

* remove restrictions on MSVC and use a globbing expression in finding the files.  Also add a check to make sure book directory exists which seems to be important on appveyor

* apparently doxygen was updated and the old download script no longer worked

* try a different url for the older download

* use github source tar
2019-12-28 17:59:47 -05:00
Khem Raj
c72057d877 clang and cross-compile fixes (#373)
* Add CLANG_TIDY check

Signed-off-by: Khem Raj <raj.khem@gmail.com>

* Use GNUInstallDirs instead of hard-coded path

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-28 17:55:47 -05:00
Henry Schreiner
3bdbbd7875
Adding CUDA NVCC build (#365)
* Adding CUDA build

* Filter NVCC warning

* Constexpr reword
2019-12-10 11:42:32 -05:00
Henry Fredrick Schreiner
2244ecc3f3 Adding and fixing Weffc++ 2019-11-29 21:49:05 -05:00
Henry Schreiner
c408505638 Fixes for doxygen generation 2019-09-06 17:31:03 -04:00
Henry Schreiner
7b315782e1
Warnings (#281)
* Fixing some warnings

* Make gtest a system library

* Fixing format

* Adding better method for adding warnings

* Nicer Windows deprecated test

* JSON update and drop testing timer

* Warnings as errors everywhere
2019-05-18 19:11:27 +02:00
Henry Schreiner
b6e3fb126a
Boost optional is no longer automatic (#279)
* Boost optional is no longer automatic

* Tighten up optional a bit

* Check times
2019-05-16 23:34:29 +02:00
Henry Schreiner
433fd91212
Build testing (#277)
* build-testing better supported

* Add formatting to Azure

* Adding more jobs to Azure

* Control

* Allow libc++ to be used on linux

* Fix modernize message

* Fix variable

* fixup! Fix modernize message

* Drop auto exp. optional

* Update readme, better user id in docker

* Fix BUILD_TESTING

* Drop format from travis, leave tidy for now

* Check tidy and format

* Tidy fully on Azure now
2019-05-14 15:33:15 +02:00
Paul le Roux
80420d62e2 Make ConfigVersion arch independent (#254)
CLI11 is header only and the architecture shouldn't matter. The arch
dependence has the potential to cause find_package to fail incorrectly.
2019-03-22 17:57:46 -04:00
Philip Top
546d5ec237 clear up some additional Wshadow warnings on older compilers (#232)
* clear up some additional Wshadow warnings on older compilers

* clear up a few more Wshadow warnings in option

* add extra test for delimiter in add_option_function call.

* clear up a warning from the test
2019-02-20 18:52:07 +01:00
Henry Schreiner
5e0bb1c8da
Fix Boost CMake (#226)
* Fixing typos in FindBoost

* Minimum required Boost is actually 1.61
2019-02-19 14:08:36 +01:00
Aleksey Mikhaylov
0387f35ec8 Prefer BUILD_TESTING over CLI11_TESTING if defined 2018-12-18 19:47:38 +01:00
Henry Fredrick Schreiner
f16f3c97f0 Fixing use as a subproject for installing #156 2018-09-03 22:48:45 +02:00
Henry Schreiner
73411e1e38
Minor build system improvements (#154) 2018-08-01 11:36:13 +02:00
Henry Fredrick Schreiner
f3b00d94d1 Python 2.6 support, SINGLE_FILE no longer defaults to ON 2018-07-30 09:51:08 +02:00
Henry Fredrick Schreiner
e7dc4c23f7 Adding check for correct python version for search 2018-07-26 18:54:24 +02:00
Henry Fredrick Schreiner
98b31d788b Adding tests and deprecation messages 2018-06-18 15:13:59 +02:00
Henry Fredrick Schreiner
36cf13cec6 Hiding single file tests option if single file is off 2018-05-21 23:01:13 +02:00
Henry Fredrick Schreiner
89975e51e7 Updating coverage 2018-04-30 08:17:31 -04:00
Henry Schreiner
b957301c3a
Adding policy range (#110) 2018-04-25 18:14:00 -04:00
Henry Fredrick Schreiner
227eabec38 Slightly cleaner by using CMakeDependentOption 2018-04-05 14:02:32 +02:00
Henry Fredrick Schreiner
43ec307781 Better message about optional test, warning suppression 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
d2d4f07fd4 Dropping CLI_ in favor of CLI11_ everywhere 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
bea833bbcd Adding and fixing more warnings 2018-03-26 11:48:23 +02:00
Henry Fredrick Schreiner
b4b7d991f6 Slighly cleaner usage with add_subdirectory 2018-03-10 14:18:18 +01:00
Henry Schreiner
79a1847605
Overflow (#84)
* Overflowing an integer conversion now results in a conversion failure

* CMake improvements for VERSION and inital packing support

* Fix for recent addition of overflow check

* Conan file now gets version from Version.hpp file too
2018-03-10 09:50:25 +01:00
Henry Schreiner
f089255ad0
Adding support for conan.io (#83)
* Adding fix for #75, rename requires to needs

* Removing check for install commands (should still be run in subproject)

* Adding conan build

* Some small changes to CMake

* Adding nicer Travis code

* Adding package test, find works now
2018-03-09 08:30:22 +01:00
Henry Schreiner
5186158442
Rename requires to needs (#82)
* Adding fix for #75, rename requires to needs

* Removing check for install commands (should still be run in subproject)
2018-03-08 11:48:40 +01:00
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