Prev | Next | pkgconfig |
pkg-config
program helps with the used if installed libraries
and include files; see its
guide
for more information on writing an using pkg-config files.
cppad.pc
file is installed in the following two directories:
prefix/libdir/pkgconfig
prefix/datadir/pkgconfig
where
prefix
is cppad_prefix
,
libdir
is the first entry in
cmake_install_libdirs
,
and #
datadir
is
cmake_install_datadir
.
In order to use pkg-config
,
one of these directories must your PKG_CONFIG_PATH
.
pkg-config --cflags cppad
pkg-config --libs cppad
cppad.pc
file contains the text:
prefix=prefix
exec_prefix=exec_prefix
includedir=includedir
libdir=libdir
where
prefix
,
exec_prefix
,
includedir
, and
libdir
are the
gnu installation variables
.
cppad-uninstalled.pc
file is located in the following directory:
builddir/pkgconfig
where
builddir
is the directory where the cmake
command
is executed.
pkg-config --cflags cppad-uninstalled
pkg-config --libs cppad-uninstalled
cppad-uninstalled.pc
file has the same extra variables
as the cppad.pc
file.