2013-10-15 19:17:36 +04:00
|
|
|
find_file
|
|
|
|
---------
|
|
|
|
|
2013-10-01 20:37:02 +04:00
|
|
|
.. |FIND_XXX| replace:: find_file
|
|
|
|
.. |NAMES| replace:: NAMES name1 [name2 ...]
|
|
|
|
.. |SEARCH_XXX| replace:: full path to a file
|
|
|
|
.. |SEARCH_XXX_DESC| replace:: full path to named file
|
2015-06-08 22:52:21 +03:00
|
|
|
.. |prefix_XXX_SUBDIR| replace:: ``<prefix>/include``
|
|
|
|
.. |entry_XXX_SUBDIR| replace:: ``<entry>/include``
|
2013-10-15 19:17:36 +04:00
|
|
|
|
2013-10-01 20:37:02 +04:00
|
|
|
.. |CMAKE_PREFIX_PATH_XXX| replace::
|
2015-06-08 22:52:21 +03:00
|
|
|
``<prefix>/include/<arch>`` if :variable:`CMAKE_LIBRARY_ARCHITECTURE`
|
|
|
|
is set, and |CMAKE_PREFIX_PATH_XXX_SUBDIR|
|
|
|
|
.. |CMAKE_XXX_PATH| replace:: :variable:`CMAKE_INCLUDE_PATH`
|
|
|
|
.. |CMAKE_XXX_MAC_PATH| replace:: :variable:`CMAKE_FRAMEWORK_PATH`
|
2013-10-15 19:17:36 +04:00
|
|
|
|
2016-05-09 17:06:22 +03:00
|
|
|
.. |SYSTEM_ENVIRONMENT_PATH_XXX| replace:: Directories in ``INCLUDE``.
|
|
|
|
On Windows hosts:
|
2015-06-08 22:52:21 +03:00
|
|
|
``<prefix>/include/<arch>`` if :variable:`CMAKE_LIBRARY_ARCHITECTURE`
|
|
|
|
is set, and |SYSTEM_ENVIRONMENT_PREFIX_PATH_XXX_SUBDIR|, and the
|
|
|
|
directories in ``PATH`` itself.
|
2013-10-15 19:17:36 +04:00
|
|
|
|
2013-10-01 20:37:02 +04:00
|
|
|
.. |CMAKE_SYSTEM_PREFIX_PATH_XXX| replace::
|
2015-06-08 22:52:21 +03:00
|
|
|
``<prefix>/include/<arch>`` if :variable:`CMAKE_LIBRARY_ARCHITECTURE`
|
|
|
|
is set, and |CMAKE_SYSTEM_PREFIX_PATH_XXX_SUBDIR|
|
|
|
|
.. |CMAKE_SYSTEM_XXX_PATH| replace::
|
|
|
|
:variable:`CMAKE_SYSTEM_INCLUDE_PATH`
|
|
|
|
.. |CMAKE_SYSTEM_XXX_MAC_PATH| replace::
|
|
|
|
:variable:`CMAKE_SYSTEM_FRAMEWORK_PATH`
|
2013-10-15 19:17:36 +04:00
|
|
|
|
2013-10-01 20:37:02 +04:00
|
|
|
.. |CMAKE_FIND_ROOT_PATH_MODE_XXX| replace::
|
2013-11-26 22:58:07 +04:00
|
|
|
:variable:`CMAKE_FIND_ROOT_PATH_MODE_INCLUDE`
|
2013-10-15 19:17:36 +04:00
|
|
|
|
2013-10-01 20:37:02 +04:00
|
|
|
.. include:: FIND_XXX.txt
|