Skip to content

Experimental third party proxy of jarro2783/cxxopts.

License

Notifications You must be signed in to change notification settings

sthagen/cpp-cxxopts-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpp-cxxopts-proxy

Experimental third party proxy of jarro2783/cxxopts.

Usage

Generate build files:

cmake -S . -B build
# ...

Build:

cmake --build build
[ 25%] Building CXX object CMakeFiles/cxxopts_test.dir/main.cpp.o
[ 50%] Linking CXX executable cxxopts_test
[ 50%] Built target cxxopts_test
[ 75%] Building CXX object examples/CMakeFiles/basic.dir/basic.cpp.o
[100%] Linking CXX executable basic
[100%] Built target basic

Execute test:

build/cxxopts_test
[doctest] doctest version is "2.4.4"
[doctest] run with "--help" for options
===============================================================================
[doctest] test cases: 3 | 3 passed | 0 failed | 0 skipped
[doctest] assertions: 0 | 0 passed | 0 failed |
[doctest] Status: SUCCESS!

Execute basic example:

build/examples/basic -h
One line description of the commandline app
Usage:
  App [OPTION...]

  -h, --help      Show help
  -d, --debug     Enable debugging
  -f, --file arg  File name

... or:

build/examples/basic -d -f value
option: debug: true
option: file: value

Status

Experimental.

Note: The default branch is default.

About

Experimental third party proxy of jarro2783/cxxopts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published