Commit 3f2d70530219e09fe7e563f86126b0d3b228a60d

Authored by Jarryd Beck
1 parent f75feab9

Improve build and test instructions

Showing 1 changed file with 9 additions and 1 deletions
  1 +== System installation ==
  2 +
  3 +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.
  4 +
  5 +== Building the examples and tests ==
  6 +
1 7 It is preferable to build out of source.
2 8  
3 9 cmake ${CXXOPTS_DIR}
4 10 make
5 11  
6   -
7 12 You can use another build tool, such as ninja.
8 13  
9 14 cmake -G Ninja ${CXXOPTS_DIR}
10 15 ninja
  16 +
  17 +
  18 +To run the tests, run `make test`.
... ...