diff options
author | Chaoren Lin <aoe@google.com> | 2016-07-12 11:53:58 -0700 |
---|---|---|
committer | Chaoren Lin <chaorenl@google.com> | 2016-07-22 23:31:32 +0000 |
commit | ee96b2ec399702e23faee15863fed3ae33144fdd (patch) | |
tree | 8ad8b5881235f6e813451e8916201104d8155bd5 /share/cmake-3.6/Help/command/find_path.rst | |
parent | 091caafda44f7fe52a94387b2eafcf204ea909d3 (diff) | |
download | linux-x86-ee96b2ec399702e23faee15863fed3ae33144fdd.tar.gz |
Update prebuilts to CMake 3.6.0-rc2 (go/ab/3043163).ndk-r16-beta2ndk-r16-beta1ndk-r16ndk-r15-beta2ndk-r15-beta1ndk-r14-beta2ndk-r14-beta1ndk-r14ndk-r13-beta2ndk-r13ndk-release-r16ndk-r16-releasendk-r15-releasendk-r14-releasendk-r13-release
Change-Id: Ibe6715663df09f1d9ac5fcb588e12c657b2caab1
(cherry picked from commit ecf0ec027d28d2c26ce13075003dc57db20d279e)
Diffstat (limited to 'share/cmake-3.6/Help/command/find_path.rst')
-rw-r--r-- | share/cmake-3.6/Help/command/find_path.rst | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/share/cmake-3.6/Help/command/find_path.rst b/share/cmake-3.6/Help/command/find_path.rst new file mode 100644 index 0000000..76342d0 --- /dev/null +++ b/share/cmake-3.6/Help/command/find_path.rst @@ -0,0 +1,39 @@ +find_path +--------- + +.. |FIND_XXX| replace:: find_path +.. |NAMES| replace:: NAMES name1 [name2 ...] +.. |SEARCH_XXX| replace:: file in a directory +.. |SEARCH_XXX_DESC| replace:: directory containing the named file +.. |prefix_XXX_SUBDIR| replace:: ``<prefix>/include`` +.. |entry_XXX_SUBDIR| replace:: ``<entry>/include`` + +.. |CMAKE_PREFIX_PATH_XXX| replace:: + ``<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` + +.. |SYSTEM_ENVIRONMENT_PATH_XXX| replace:: Directories in ``INCLUDE``. + On Windows hosts: + ``<prefix>/include/<arch>`` if :variable:`CMAKE_LIBRARY_ARCHITECTURE` + is set, and |SYSTEM_ENVIRONMENT_PREFIX_PATH_XXX_SUBDIR|, and the + directories in ``PATH`` itself. + +.. |CMAKE_SYSTEM_PREFIX_PATH_XXX| replace:: + ``<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` + +.. |CMAKE_FIND_ROOT_PATH_MODE_XXX| replace:: + :variable:`CMAKE_FIND_ROOT_PATH_MODE_INCLUDE` + +.. include:: FIND_XXX.txt + +When searching for frameworks, if the file is specified as ``A/b.h``, then +the framework search will look for ``A.framework/Headers/b.h``. If that +is found the path will be set to the path to the framework. CMake +will convert this to the correct ``-F`` option to include the file. |