Go to file
zhouganqing 0387642944 format patches 2022-09-26 14:33:44 +08:00
debian format patches 2022-09-26 14:33:44 +08:00
doc Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
m4 Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
po Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
src Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
tests Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
ABOUT-NLS Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
AUTHORS Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
COPYING Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
ChangeLog Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
Doxyfile.in Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
INSTALL Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
Makefile.am Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
Makefile.in Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
NEWS Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
README Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
aclocal.m4 Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
compile Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
config.guess Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
config.h.in Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
config.rpath Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
config.sub Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
configure Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
configure.ac Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
cwidget-config.h Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
cwidget-config.h.in Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
cwidget.pc.in Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
depcomp Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
install-sh Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
ltmain.sh Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
missing Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00
test-driver Import Upstream version 0.5.18 2022-09-26 14:33:41 +08:00

README

(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)