Lines Matching full:ninja
62 However, the Ninja generator does support this variable and can be used
66 First, you will need to install `Ninja`_. Once installed, the Ninja
71 will locate the MSVC compiler for the Ninja generator. The `documentation
80 Now you can run CMake with the Ninja generator to export a compilation
85 C:\> mkdir build-ninja
86 C:\> cd build-ninja
87 C:\build-ninja> cmake -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON path/to/llvm/sources
90 Ninja build folder. This prevents the two build systems from negatively
93 Once the ``compile_commands.json`` file has been created by Ninja, you can
191 Using Ninja Build System
194 Optionally you can use the `Ninja`_ build system instead of make. It is
196 building Ninja from sources.
198 To take advantage of using Clang Tools along with Ninja build you need
201 Clone the Ninja git repository and build Ninja from sources:
205 $ git clone git://github.com/martine/ninja.git
206 $ cd ninja/
209 This will result in a single binary ``ninja`` in the current directory.
215 $ sudo cp ninja /usr/local/bin/
216 $ sudo chmod a+rx /usr/local/bin/ninja
218 After doing all of this, you'll need to generate Ninja build files for
226 $ cmake -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON path/to/llvm/sources
241 Now you are ready to build and test LLVM using Ninja:
245 $ ninja check-all
249 .. _Ninja: https://ninja-build.org/