/usr/share/doc/libcwidget-dev/README is in libcwidget-dev 0.5.17-4ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | (0) Compiling libcwidget
Compiling cwidget requires a C++ compiler and the ncurses library in
its wide-character form (libncursesw). To generate API
documentation, you will also need doxygen (see
http://www.doxygen.org).
To compile the library, run "./configure && make". If doxygen is
installed, you can build documentation in the directory "doc" by
running "make doc".
(1) Installing libcwidget
To install the library, run "make install".
(2) Writing software that uses cwidget.
To include cwidget headers, you should use include paths starting
with cwidget:
#include <cwidget/widgets/tree.h>
See the headers and the generated documentation for more
information.
(3) Compiling software that uses cwidget. (pkg-config)
The canonical way to retrieve the include and link flags for programs
using cwidget is through pkg-config. By hand, the commands:
pkg-config --cflags cwidget
pkg-config --libs cwidget
will give you compile and linker flags for a program using cwidget.
You can also include the following line in your configure.ac:
PKG_CHECK_MODULES([CWIDGET], [cwidget])
See pkg-config(1) for more details.
(4) Compiling software that uses cwidget. (manual)
Using pkg-config is recommended, as this will insulate you against
any changes in the layout of the library. However, if you do not
wish to use pkg-config, you can find the cwidget headers in
$(includedir) and $(libdir)/cwidget, and the libraries in $(libdir).
Typically this will mean /usr/include and /usr/local/lib. (the
configuration header is placed under $(libdir) because it is
system-dependent data)
|