Prev Next pkgconfig

@(@\newcommand{\W}[1]{ \; #1 \; } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\B}[1]{ {\bf #1} } \newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} } \newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} } \newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} } \newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }@)@ This is cppad-20221105 documentation. Here is a link to its current documentation .
CppAD pkg-config Files

Purpose
The 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

PKG_CONFIG_PATH
The 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.

Compile Flags
The necessary flags for compiling code that includes CppAD can be obtained with the command
 
    pkg-config --cflags cppad

Link Flags
The flags for linking can be obtains with the command
 
    pkg-config --libs cppad

Extra Definitions
The 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

PKG_CONFIG_PATH
The cppad-uninstalled.pc file is located in the following directory:
  
builddir/pkgconfig
where builddir is the directory where the cmake command is executed.

Compile Flags
The necessary flags for compiling code that includes CppAD, before CppAD is installed, can be obtained with the command
 
    pkg-config --cflags cppad-uninstalled

Link Flags
The flags for linking can be obtains with the command
 
    pkg-config --libs cppad-uninstalled

Extra Definitions
The cppad-uninstalled.pc file has the same extra variables as the cppad.pc file.
Input File: pkgconfig/CMakeLists.txt