![]() |
Prev | Next | pkgconfig |
pkg-config
package helps with the use of installed libraries;
see its
guide
for more information.
pkg-config --cflags cppad
The flags for linking can be obtains with the command
pkg-config --libs cppad
Note that this command assumes cppad.pc
is in
the search path PKG_CONFIG_PATH
.
pkg-config
files cppad.pc
and
cppad-uninstalled.pc
contain the following information:
Name
| A human-readable name for the CppAD package. |
Description
| A brief description of the CppAD package. |
URL
| A URL where people can get more information about the CppAD package. |
Version
| A string specifically defining the version of the CppAD package. |
Cflags
| The necessary flags for using any of the CppAD include files. |
Libs
| The flags necessary for linking programs that use CppAD include files. |
Requires
| If ipopt_prefix is specified, the packages required to use the cppad_ipopt library. |
cppad.pc
and cppad-uninstalled.pc
are given below.
Note that cppad.pc
is placed in two locations.
Path | Description |
builddir
| directory where the cmake command is executed. |
prefix
| value of cppad_prefix during configuration. |
datadir
| value of cmake_install_datadir . |
libdir
| first directory in cmake_install_libdirs . |
builddir/pkgconfig/cppad-uninstalled.pc
|
for testing before make install
|
prefix/datadir/pkgconfig/cppad.pc
| for use after make install |
prefix/libdir/pkgconfig/cppad.pc
|