mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Help: Document CMAKE_FIND_APPBUNDLE and CMAKE_FIND_FRAMEWORK
Add dedicated documents for these and link to them instead of duplicating their documentation in every find command.
This commit is contained in:
@@ -100,6 +100,9 @@ If NO_DEFAULT_PATH is not specified, the search process is as follows:
|
||||
|
||||
.. |FIND_ARGS_XXX| replace:: <VAR> NAMES name
|
||||
|
||||
.. include:: FIND_XXX_MAC.txt
|
||||
On OS X the :variable:`CMAKE_FIND_FRAMEWORK` and
|
||||
:variable:`CMAKE_FIND_APPBUNDLE` variables determine the order of
|
||||
preference between Apple-style and unix-style package components.
|
||||
|
||||
.. include:: FIND_XXX_ROOT.txt
|
||||
.. include:: FIND_XXX_ORDER.txt
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
On Darwin or systems supporting OS X Frameworks, the cmake variable
|
||||
CMAKE_FIND_FRAMEWORK can be set to empty or one of the following:
|
||||
|
||||
* FIRST: Try to find frameworks before standard libraries or headers.
|
||||
This is the default on Darwin.
|
||||
|
||||
* LAST: Try to find frameworks after standard libraries or headers.
|
||||
|
||||
* ONLY: Only try to find frameworks.
|
||||
|
||||
* NEVER: Never try to find frameworks.
|
||||
|
||||
On Darwin or systems supporting OS X Application Bundles, the cmake
|
||||
variable CMAKE_FIND_APPBUNDLE can be set to empty or one of the
|
||||
following:
|
||||
|
||||
* FIRST: Try to find application bundles before standard programs.
|
||||
This is the default on Darwin.
|
||||
|
||||
* LAST: Try to find application bundles after standard programs.
|
||||
|
||||
* ONLY: Only try to find application bundles.
|
||||
|
||||
* NEVER: Never try to find application bundles.
|
||||
@@ -228,9 +228,9 @@ installation directory. Those marked with (U) are intended for
|
||||
installations on UNIX platforms where the prefix is shared by multiple
|
||||
packages. This is merely a convention, so all (W) and (U) directories
|
||||
are still searched on all platforms. Directories marked with (A) are
|
||||
intended for installations on Apple platforms. The cmake variables
|
||||
``CMAKE_FIND_FRAMEWORK`` and ``CMAKE_FIND_APPBUNDLE``
|
||||
determine the order of preference as specified below.
|
||||
intended for installations on Apple platforms. The
|
||||
:variable:`CMAKE_FIND_FRAMEWORK` and :variable:`CMAKE_FIND_APPBUNDLE`
|
||||
variables determine the order of preference.
|
||||
|
||||
The set of installation prefixes is constructed using the following
|
||||
steps. If ``NO_DEFAULT_PATH`` is specified all ``NO_*`` options are
|
||||
@@ -295,7 +295,6 @@ enabled.
|
||||
.. |CMAKE_FIND_ROOT_PATH_MODE_XXX| replace::
|
||||
:variable:`CMAKE_FIND_ROOT_PATH_MODE_PACKAGE`
|
||||
|
||||
.. include:: FIND_XXX_MAC.txt
|
||||
.. include:: FIND_XXX_ROOT.txt
|
||||
.. include:: FIND_XXX_ORDER.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user