GNUInstallDirsΒΆ
Define GNU standard installation directories
Provides install directory variables as defined for GNU software:
Inclusion of this module defines the following variables:
CMAKE_INSTALL_<dir>destination for files of a given type
CMAKE_INSTALL_FULL_<dir>corresponding absolute path
where <dir> is one of:
BINDIRuser executables (bin)
SBINDIRsystem admin executables (sbin)
LIBEXECDIRprogram executables (libexec)
SYSCONFDIRread-only single-machine data (etc)
SHAREDSTATEDIRmodifiable architecture-independent data (com)
LOCALSTATEDIRmodifiable single-machine data (var)
LIBDIRobject code libraries (lib or lib64 or lib/<multiarch-tuple> on Debian)
INCLUDEDIRC header files (include)
OLDINCLUDEDIRC header files for non-gcc (/usr/include)
DATAROOTDIRread-only architecture-independent data root (share)
DATADIRread-only architecture-independent data (DATAROOTDIR)
INFODIRinfo documentation (DATAROOTDIR/info)
LOCALEDIRlocale-dependent data (DATAROOTDIR/locale)
MANDIRman documentation (DATAROOTDIR/man)
DOCDIRdocumentation root (DATAROOTDIR/doc/PROJECT_NAME)
Each CMAKE_INSTALL_<dir> value may be passed to the DESTINATION options of install() commands for the corresponding file type. If the includer does not define a value the above-shown default will be used and the value will appear in the cache for editing by the user. Each CMAKE_INSTALL_FULL_<dir> value contains an absolute path constructed from the corresponding destination by prepending (if necessary) the value of CMAKE_INSTALL_PREFIX.