Lines Matching refs:code
55 .. code-block:: cmake
65 .. code-block:: cmake
91 .. code-block:: cmake
99 code paths that the variable isn't set. There are examples of this throughout
104 .. code-block:: cmake
122 .. code-block:: cmake
138 .. code-block:: cmake
146 with the following code:
148 .. code-block:: cmake
218 .. code-block:: cmake
237 .. code-block:: cmake
246 .. code-block:: cmake
274 There is also a more modern CMake foreach syntax. The code below is equivalent
275 to the code above:
277 .. code-block:: cmake
316 Modules are CMake's vehicle for enabling code reuse. CMake modules are just
317 CMake script files. They can contain code to execute on include as well as
321 are the primary method of defining code that can be called multiple times.
344 .. code-block:: cmake
381 .. code-block:: cmake
407 and to reduce code duplication.