Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jul 22, 2022
1 parent da243d0 commit db6566a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions demos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ and link with any curses library; e.g., "cc -orain rain.c -lcurses".
There are no dependencies besides curses and the standard C library, and
no configuration is needed.

To use CMake, assuming the main PDcurses has been built and installed:

```sh
cmake -S demos -B demos/build -DPDCurses_ROOT=/path/to/pdcurses

cmake --build demos/build
```

Distribution Status
-------------------
Expand Down
15 changes: 15 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,21 @@ Also consult the README for each specific platform you'll be using:
Building
--------

The PDcurses library can be built for Unix-like systems and Windows via Makefiles
or CMake.
To build with CMake:

```sh
cmake -B build
cmake --build build
```

optionally, install the library binary and headers:

```sh
cmake --install build --prefix /path/to/install
```

- To rebuild MANUAL.md from the "man page" sections of the source code,
type "./mkman.sh". Needs a Unix-like shell and a Python interpreter.

Expand Down

0 comments on commit db6566a

Please sign in to comment.