cxxopts/INSTALL

19 lines
412 B
Plaintext
Raw Normal View History

2018-10-29 00:47:18 +03:00
== System installation ==
This library is header only. So you can either copy `include/cxxopts.hpp` to `/usr/include` or `/usr/local/include`, or add `include` to your search path.
== Building the examples and tests ==
2014-10-13 02:20:20 +04:00
It is preferable to build out of source.
cmake ${CXXOPTS_DIR}
make
You can use another build tool, such as ninja.
cmake -G Ninja ${CXXOPTS_DIR}
ninja
2018-10-29 00:47:18 +03:00
To run the tests, run `make test`.