Lines Matching +refs:cmake +refs:variables

22 The official CMake language references is available in the cmake-language
23 manpage and `cmake-language online documentation
24 <https://cmake.org/cmake/help/v3.4/manual/cmake-language.7.html>`_.
55 .. code-block:: cmake
65 .. code-block:: cmake
80 In CMake variables are "stringly" typed. All variables are represented as
91 .. code-block:: cmake
98 pattern in CMake to conditionally set variables knowing that it will be used in
104 .. code-block:: cmake
118 .. code-block:: cmake
123 the if command comparing the value of the dereferenced variables ``SOME_VAR``
127 .. code-block:: cmake
138 CMake policies please see the cmake-policies manpage or the `cmake-policies
140 <https://cmake.org/cmake/help/v3.4/manual/cmake-policies.7.html>`_.
149 .. code-block:: cmake
165 .. code-block:: cmake
175 .. code-block:: cmake
198 One of the few examples is PATH variables, which CMake does have some special
201 <https://cmake.org/cmake/help/v3.5/command/set.html#set-cache-entry>`_.
221 This means variables set inside functions do not bleed into the parent scope.
241 `here <https://cmake.org/cmake/help/v3.4/command/if.html>`_. That resource is
246 .. code-block:: cmake
265 .. code-block:: cmake
274 .. code-block:: cmake
305 .. code-block:: cmake
369 .. code-block:: cmake
384 ``cmake-modules`` manpage, and is also available at the
385 `cmake-modules online documentation
386 <https://cmake.org/cmake/help/v3.4/module/CMakeParseArguments.html>`_.
398 macros don't. This means variables set in macros will bleed out into the calling
403 passed. Arguments to macros are not set as variables, instead dereferences to
405 result in some unexpected behavior if using unreferenced variables. For example:
407 .. code-block:: cmake
425 non-dereferenced variables with names that overlap in the parent scope, but it
440 all defined in ``AddLLVM.cmake`` which is installed as part of the LLVM
457 * `add_custom_command <https://cmake.org/cmake/help/v3.4/command/add_custom_command.html>`_
458 * `add_custom_target <https://cmake.org/cmake/help/v3.4/command/add_custom_target.html>`_
459 * `file <https://cmake.org/cmake/help/v3.4/command/file.html>`_
460 * `list <https://cmake.org/cmake/help/v3.4/command/list.html>`_
461 * `math <https://cmake.org/cmake/help/v3.4/command/math.html>`_
462 * `string <https://cmake.org/cmake/help/v3.4/command/string.html>`_
464 The full documentation for CMake commands is in the ``cmake-commands`` manpage
465 and available on `CMake's website <https://cmake.org/cmake/help/v3.4/manual/cmake-commands.7.html>`_