OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
doc
/
cmake
/
html
/
generator
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
π
..
-
04/04/2023 07:10:48 PM
rwxr-xr-x
π
Borland Makefiles.html
5.14 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
CodeBlocks.html
9.18 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
CodeLite.html
8.35 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Eclipse CDT4.html
7.6 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Green Hills MULTI.html
23.55 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Kate.html
7.44 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
MSYS Makefiles.html
5.94 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
MinGW Makefiles.html
6.04 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
NMake Makefiles JOM.html
5.5 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
NMake Makefiles.html
5.11 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Ninja Multi-Config.html
28.69 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Ninja.html
9.51 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Sublime Text 2.html
8.3 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Unix Makefiles.html
6.89 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Visual Studio 10 2010.html
6.58 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Visual Studio 11 2012.html
12.04 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Visual Studio 12 2013.html
11.32 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Visual Studio 14 2015.html
13.27 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Visual Studio 15 2017.html
12.28 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Visual Studio 16 2019.html
11.4 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Visual Studio 17 2022.html
11.35 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Visual Studio 6.html
5.57 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Visual Studio 7 .NET 2003.html
5.68 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Visual Studio 7.html
5.66 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Visual Studio 8 2005.html
5.74 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Visual Studio 9 2008.html
9.02 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Watcom WMake.html
4.96 KB
04/04/2023 07:05:06 PM
rw-r--r--
π
Xcode.html
10.61 KB
04/04/2023 07:05:06 PM
rw-r--r--
Editing: Ninja.html
Close
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" /> <title>Ninja — CMake 3.26.3 Documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/cmake.css" /> <script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script> <script src="../_static/jquery.js"></script> <script src="../_static/underscore.js"></script> <script src="../_static/_sphinx_javascript_frameworks_compat.js"></script> <script src="../_static/doctools.js"></script> <link rel="shortcut icon" href="../_static/cmake-favicon.ico"/> <link rel="index" title="Index" href="../genindex.html" /> <link rel="search" title="Search" href="../search.html" /> <link rel="next" title="Ninja Multi-Config" href="Ninja%20Multi-Config.html" /> <link rel="prev" title="Watcom WMake" href="Watcom%20WMake.html" /> </head><body> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="Ninja%20Multi-Config.html" title="Ninja Multi-Config" accesskey="N">next</a> |</li> <li class="right" > <a href="Watcom%20WMake.html" title="Watcom WMake" accesskey="P">previous</a> |</li> <li> <img src="../_static/cmake-logo-16.png" alt="" style="vertical-align: middle; margin-top: -2px" /> </li> <li> <a href="https://cmake.org/">CMake</a> » </li> <li> <a href="../index.html">3.26.3 Documentation</a> » </li> <li class="nav-item nav-item-1"><a href="../manual/cmake-generators.7.html" accesskey="U">cmake-generators(7)</a> »</li> <li class="nav-item nav-item-this"><a href="">Ninja</a></li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body" role="main"> <section id="ninja"> <span id="generator:Ninja"></span><h1>Ninja<a class="headerlink" href="#ninja" title="Permalink to this heading">ΒΆ</a></h1> <p>Generates <code class="docutils literal notranslate"><span class="pre">build.ninja</span></code> files.</p> <p>A <code class="docutils literal notranslate"><span class="pre">build.ninja</span></code> file is generated into the build tree. Use the ninja program to build the project through the <code class="docutils literal notranslate"><span class="pre">all</span></code> target and install the project through the <code class="docutils literal notranslate"><span class="pre">install</span></code> (or <code class="docutils literal notranslate"><span class="pre">install/strip</span></code>) target.</p> <p>For each subdirectory <code class="docutils literal notranslate"><span class="pre">sub/dir</span></code> of the project, additional targets are generated:</p> <p><code class="docutils literal notranslate"><span class="pre">sub/dir/all</span></code></p> <blockquote> <div><div class="versionadded"> <p><span class="versionmodified added">New in version 3.6: </span>Depends on all targets required by the subdirectory.</p> </div> </div></blockquote> <p><code class="docutils literal notranslate"><span class="pre">sub/dir/install</span></code></p> <blockquote> <div><div class="versionadded"> <p><span class="versionmodified added">New in version 3.7: </span>Runs the install step in the subdirectory, if any.</p> </div> </div></blockquote> <p><code class="docutils literal notranslate"><span class="pre">sub/dir/install/strip</span></code></p> <blockquote> <div><div class="versionadded"> <p><span class="versionmodified added">New in version 3.7: </span>Runs the install step in the subdirectory followed by a <code class="docutils literal notranslate"><span class="pre">CMAKE_STRIP</span></code> command, if any.</p> <p>The <code class="docutils literal notranslate"><span class="pre">CMAKE_STRIP</span></code> variable will contain the platform's <code class="docutils literal notranslate"><span class="pre">strip</span></code> utility, which removes symbols information from generated binaries.</p> </div> </div></blockquote> <p><code class="docutils literal notranslate"><span class="pre">sub/dir/test</span></code></p> <blockquote> <div><div class="versionadded"> <p><span class="versionmodified added">New in version 3.7: </span>Runs the test step in the subdirectory, if any.</p> </div> </div></blockquote> <p><code class="docutils literal notranslate"><span class="pre">sub/dir/package</span></code></p> <blockquote> <div><div class="versionadded"> <p><span class="versionmodified added">New in version 3.7: </span>Runs the package step in the subdirectory, if any.</p> </div> </div></blockquote> <section id="fortran-support"> <h2>Fortran Support<a class="headerlink" href="#fortran-support" title="Permalink to this heading">ΒΆ</a></h2> <div class="versionadded"> <p><span class="versionmodified added">New in version 3.7.</span></p> </div> <p>The <code class="docutils literal notranslate"><span class="pre">Ninja</span></code> generator conditionally supports Fortran when the <code class="docutils literal notranslate"><span class="pre">ninja</span></code> tool is at least version 1.10 (which has the required features).</p> </section> <section id="swift-support"> <h2>Swift Support<a class="headerlink" href="#swift-support" title="Permalink to this heading">ΒΆ</a></h2> <div class="versionadded"> <p><span class="versionmodified added">New in version 3.15.</span></p> </div> <p>The Swift support is experimental, not considered stable, and may change in future releases of CMake.</p> </section> <section id="see-also"> <h2>See Also<a class="headerlink" href="#see-also" title="Permalink to this heading">ΒΆ</a></h2> <div class="versionadded"> <p><span class="versionmodified added">New in version 3.17: </span>The <span class="target" id="index-0-generator:Ninja Multi-Config"></span><a class="reference internal" href="Ninja%20Multi-Config.html#generator:Ninja Multi-Config" title="Ninja Multi-Config"><code class="xref cmake cmake-generator docutils literal notranslate"><span class="pre">Ninja</span> <span class="pre">Multi-Config</span></code></a> generator is similar to the <code class="docutils literal notranslate"><span class="pre">Ninja</span></code> generator, but generates multiple configurations at once.</p> </div> </section> </section> <div class="clearer"></div> </div> </div> </div> <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> <div class="sphinxsidebarwrapper"> <div> <h3><a href="../index.html">Table of Contents</a></h3> <ul> <li><a class="reference internal" href="#">Ninja</a><ul> <li><a class="reference internal" href="#fortran-support">Fortran Support</a></li> <li><a class="reference internal" href="#swift-support">Swift Support</a></li> <li><a class="reference internal" href="#see-also">See Also</a></li> </ul> </li> </ul> </div> <div> <h4>Previous topic</h4> <p class="topless"><a href="Watcom%20WMake.html" title="previous chapter">Watcom WMake</a></p> </div> <div> <h4>Next topic</h4> <p class="topless"><a href="Ninja%20Multi-Config.html" title="next chapter">Ninja Multi-Config</a></p> </div> <div role="note" aria-label="source link"> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/generator/Ninja.rst.txt" rel="nofollow">Show Source</a></li> </ul> </div> <div id="searchbox" style="display: none" role="search"> <h3 id="searchlabel">Quick search</h3> <div class="searchformwrapper"> <form class="search" action="../search.html" method="get"> <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/> <input type="submit" value="Go" /> </form> </div> </div> <script>document.getElementById('searchbox').style.display = "block"</script> </div> </div> <div class="clearer"></div> </div> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="Ninja%20Multi-Config.html" title="Ninja Multi-Config" >next</a> |</li> <li class="right" > <a href="Watcom%20WMake.html" title="Watcom WMake" >previous</a> |</li> <li> <img src="../_static/cmake-logo-16.png" alt="" style="vertical-align: middle; margin-top: -2px" /> </li> <li> <a href="https://cmake.org/">CMake</a> » </li> <li> <a href="../index.html">3.26.3 Documentation</a> » </li> <li class="nav-item nav-item-1"><a href="../manual/cmake-generators.7.html" >cmake-generators(7)</a> »</li> <li class="nav-item nav-item-this"><a href="">Ninja</a></li> </ul> </div> <div class="footer" role="contentinfo"> © Copyright 2000-2023 Kitware, Inc. and Contributors. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 5.0.2. </div> </body> </html>