Lines Matching +refs:cmake +refs:help +refs:variable

11 `CMake <http://www.cmake.org/>`_ is a cross-platform build-generator tool. CMake
36 #. `Download <http://www.cmake.org/cmake/resources/software.html>`_ and install
40 through the PATH environment variable.
55 $ cmake path/to/llvm/source/root
67 environment variable, for instance. You can force CMake to use a given build
75 $ cmake --build .
77 The ``--build`` option tells ``cmake`` to invoke the underlying build
87 $ cmake --build . --target install
90 the ``--build`` option tells ``cmake`` to build the ``install`` target.
93 by invoking the ``cmake_install.cmake`` script generated in the
98 $ cmake -DCMAKE_INSTALL_PREFIX=/tmp/llvm -P cmake_install.cmake
110 online help accessible via the ``cmake`` executable itself. Execute ``cmake
111 --help`` for further help options.
123 $ cmake --help
125 This will list the generator names at the end of the help text.
128 you should enter them exactly as they are listed in the ``cmake --help``
134 $ cmake -G "Visual Studio 12" path/to/llvm/source/root
157 $ cmake -DVARIABLE=value path/to/llvm/source
159 You can set a variable after the initial CMake invocation to change its
160 value. You can also undefine a variable:
164 $ cmake -UVARIABLE path/to/llvm/source
167 stored at the root of your build directory that is generated by ``cmake``.
171 the variable name and type separated by a colon. You can also specify the
172 variable and type on the CMake command line:
176 $ cmake -DVARIABLE:TYPE=value path/to/llvm/source
183 CMake manual, or execute ``cmake --help-variable VARIABLE_NAME``.
250 cmake must be invoked before the build. Defaults to OFF.
308 intended for cross-compiling: if the user sets this variable, no native
320 %PATH%, then you can set this variable to the GnuWin32 directory so that
335 exists (e.g., llvm/tools/clang for Clang), then the corresponding variable
336 will not be used. If the variable for an external project does not point
415 more information. Defaults to the CMake variable ``${PACKAGE_STRING}`` which
418 through all the help files that you might have loaded. This option is only
507 $ cmake -C <path to cache file> <path to sources>
567 .. code-block:: cmake
575 message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")
596 example) will look for the ``LLVMConfig.cmake`` file in various locations (see
597 cmake manual for details). It creates a ``LLVM_DIR`` cache entry to save the
598 directory where ``LLVMConfig.cmake`` is found or allows the user to specify the
599 directory (e.g. by passing ``-DLLVM_DIR=/usr/lib/cmake/llvm`` to
600 the ``cmake`` command or by setting it directly in ``ccmake`` or ``cmake-gui``).
604 * ``<INSTALL_PREFIX>/lib/cmake/llvm/LLVMConfig.cmake`` where
606 On Linux typically this is ``/usr/lib/cmake/llvm/LLVMConfig.cmake``.
608 * ``<LLVM_BUILD_ROOT>/lib/cmake/llvm/LLVMConfig.cmake`` where
618 The ``LLVMConfig.cmake`` file sets various useful variables. Notable variables
623 LLVMConfig.cmake).
679 .. code-block:: cmake
690 .. code-block:: cmake
702 .. code-block:: cmake
709 .. code-block:: cmake