build/run documentation

This commit is contained in:
nick black 2019-12-23 19:16:57 -05:00
parent 1de8611e2f
commit 6156fa72b0
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -14,6 +14,7 @@ for more information, see [my wiki](https://nick-black.com/dankwiki/index.php/No
* [Introduction](#introduction)
* [Requirements](#requirements)
* [Building](#building)
* [Use](#use)
* [Input](#input)
* [Planes](#planes) ([Plane Channels API](#plane-channels-api), [Wide chars](#wide-chars))
@ -105,6 +106,20 @@ that fine library.
* From NCURSES: terminfo 6.1+
* From FFMpeg: libswscale 5.0+, libavformat 57.0+, libavutil 56.0+
### Building
* Create a subdirectory, traditionally `build`. Enter the directory.
* `cmake ..`. You might want to set e.g. `CMAKE_BUILD_TYPE`.
* `make`
* `make test`
If you have unit test failures, *please* file a bug including the output of
`./notcurses-tester > log 2>&1` (`make test` also runs `notcurses-tester`, but
hides important output).
To watch the bitchin' demo, run `./notcurses-demo -p ../data`. More details can
be found on the `notcurses-demo(1)` man page.
## Use
A program wishing to use notcurses will need to link it, ideally using the