Lines Matching full:cmake
16 from the ``compile_commands.json`` file, generated by CMake. When
20 build using CMake to use clang tools.
22 Setup Clang Tooling Using CMake and Make
25 If you intend to use make to build LLVM, you should have CMake 2.8.6 or
26 later installed (can be found `here <https://cmake.org>`_).
28 First, you need to generate Makefiles for LLVM with CMake. You need to
29 make a build directory and run CMake from it:
35 $ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON path/to/llvm/sources
40 CMake variables.
56 Setup Clang Tooling Using CMake on Windows
59 For Windows developers, the Visual Studio project generators in CMake do
61 <https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_COMPILE_COMMANDS.html>`_.
67 executable will need to be in your search path for CMake to locate it.
70 need to have the appropriate environment variables configured so that CMake
80 Now you can run CMake with the Ninja generator to export a compilation
87 C:\build-ninja> cmake -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON path/to/llvm/sources
199 at least CMake 2.8.9.
219 LLVM with CMake. You need to make a build directory and run CMake from
226 $ cmake -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON path/to/llvm/sources
231 CMake variables in an interactive manner.