Make INSTALL a bit more clearer
This commit is contained in:
parent
3f2d705302
commit
299750a35d
12
INSTALL
12
INSTALL
@ -4,15 +4,17 @@ This library is header only. So you can either copy `include/cxxopts.hpp` to `/u
|
|||||||
|
|
||||||
== Building the examples and tests ==
|
== Building the examples and tests ==
|
||||||
|
|
||||||
It is preferable to build out of source.
|
It is preferable to build out of source. Make a build directory somewhere, and then
|
||||||
|
do the following, where `${CXXOPTS_DIR}` is the path that you checked out `cxxopts`
|
||||||
|
to:
|
||||||
|
|
||||||
cmake ${CXXOPTS_DIR}
|
cmake ${CXXOPTS_DIR}
|
||||||
make
|
make
|
||||||
|
|
||||||
You can use another build tool, such as ninja.
|
You can use another build tool, such as ninja.
|
||||||
|
|
||||||
cmake -G Ninja ${CXXOPTS_DIR}
|
cmake -G Ninja ${CXXOPTS_DIR}
|
||||||
ninja
|
ninja
|
||||||
|
|
||||||
|
|
||||||
To run the tests, run `make test`.
|
To run the tests, run `make test`.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user