mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Covers almost all blocks containing actual code, except: * Parsed-literal blocks can't be highlighted, including many command summaries and substitution-heavy docs like find_... commands. This is a Sphinx limitation. * Code with errors, like CMP0049, DEPLOYMENT_ADDITIONAL_FILES, DEPLOYMENT_REMOTE_DIRECTORY, @PACKAGE_INIT@ substitution in the tutorial, bracket arguments/comments in cmake-language.7 and cmake-developer.7. * FindQt4 module, which needs reformatting.
16 lines
522 B
ReStructuredText
16 lines
522 B
ReStructuredText
CPACK_PACKAGING_INSTALL_PREFIX
|
|
------------------------------
|
|
|
|
The prefix used in the built package.
|
|
|
|
Each CPack generator has a default value (like ``/usr``). This default
|
|
value may be overwritten from the ``CMakeLists.txt`` or the :manual:`cpack(1)`
|
|
command line by setting an alternative value. Example:
|
|
|
|
.. code-block:: cmake
|
|
|
|
set(CPACK_PACKAGING_INSTALL_PREFIX "/opt")
|
|
|
|
This is not the same purpose as :variable:`CMAKE_INSTALL_PREFIX` which is used
|
|
when installing from the build tree without building a package.
|