[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-92351":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":9,"totalLinesOfCode":9,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":9,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":9,"createdAt":9,"pushedAt":9,"updatedAt":21,"readmeContent":22,"aiSummary":23,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":24,"discoverSource":25},92351,"ninja","ninja-build\u002Fninja","ninja-build","a small build system with a focus on speed",null,"https:\u002F\u002Fgithub.com\u002Fninja-build\u002Fninja","C++",13061,1811,258,317,0,2,66.97,false,"main","2026-07-22 04:02:05","# Ninja\n\nNinja is a small build system with a focus on speed.\nhttps:\u002F\u002Fninja-build.org\u002F\n\nSee [the manual](https:\u002F\u002Fninja-build.org\u002Fmanual.html) or\n`doc\u002Fmanual.asciidoc` included in the distribution for background\nand more details.\n\nBinaries for Linux, Mac and Windows are available on\n  [GitHub](https:\u002F\u002Fgithub.com\u002Fninja-build\u002Fninja\u002Freleases).\nRun `.\u002Fninja -h` for Ninja help.\n\nInstallation is not necessary because the only required file is the\nresulting ninja binary. However, to enable features like Bash\ncompletion and Emacs and Vim editing modes, some files in misc\u002F must be\ncopied to appropriate locations.\n\nIf you're interested in making changes to Ninja, read\n[CONTRIBUTING.md](CONTRIBUTING.md) first.\n\n## Building Ninja itself\n\nYou can either build Ninja via the custom generator script written in Python or\nvia CMake. For more details see\n[the wiki](https:\u002F\u002Fgithub.com\u002Fninja-build\u002Fninja\u002Fwiki).\n\n### Python\n\n```\n.\u002Fconfigure.py --bootstrap\n```\n\nThis will generate the `ninja` binary and a `build.ninja` file you can now use\nto build Ninja with itself.\n\nIf you have a GoogleTest source directory, you can build the tests\nby passing its path with `--gtest-source-dir=PATH` option, or the\n`GTEST_SOURCE_DIR` environment variable, e.g.:\n\n```sh\n.\u002Fconfigure.py --bootstrap --gtest-source-dir=\u002Fpath\u002Fto\u002Fgoogletest\n.\u002Fninja all     # build ninja_test and other auxiliary binaries\n.\u002Fninja_test    # run the unit-test suite.\n```\n\nUse the CMake build below if you want to use a preinstalled binary\nversion of the library.\n\n### CMake\n\nTo build the ninja binary without building the unit tests, disable test building\nby setting `BUILD_TESTING` to `OFF`:\n\n```\ncmake -Bbuild-cmake -DBUILD_TESTING=OFF\ncmake --build build-cmake\n```\n\nThe `ninja` binary will now be inside the `build-cmake` directory (you can\nchoose any other name you like).\n\nTo run the unit tests, omit the `-DBUILD_TESTING=OFF` option, and after\nbuilding, run:\n\n```\nbuild-cmake\u002Fninja_test\n```\n\n## Generating documentation\n\n### Ninja Manual\n\nYou must have `asciidoc` and `xsltproc` in your PATH, then do:\n\n```\n.\u002Fconfigure.py\nninja manual doc\u002Fmanual.html\n```\n\nWhich will generate `doc\u002Fmanual.html`.\n\nTo generate the PDF version of the manual, you must have `dblatext` in your PATH\nthen do:\n\n```sh\n.\u002Fconfigure.py    # only if you didn't do it previously.\nninja doc\u002Fmanual.pdf\n```\n\nWhich will generate `doc\u002Fmanual.pdf`.\n\n### Doxygen documentation\n\nIf you have `doxygen` installed, you can build documentation extracted from C++\ndeclarations and comments to help you navigate the code. Note that Ninja is a\nstandalone executable, not a library, so there is no public API, all details\nexposed here are internal.\n\n```sh\n.\u002Fconfigure.py   # if needed\nninja doxygen\n```\n\nThen open `doc\u002Fdoxygen\u002Fhtml\u002Findex.html` in a browser to look at it.\n","Ninja 是一个轻量级的构建系统，专注于极快的构建性能。它采用声明式构建规则（通过 build.ninja 文件定义），支持增量构建、依赖精确跟踪和并行执行，核心设计避免了传统 Make 的冗余解析开销。其单二进制部署方式（无需安装）和低内存占用使其特别适合大型 C\u002FC++ 项目、编译器工具链、嵌入式开发及 CI\u002FCD 流水线中对构建速度敏感的场景。","2026-07-08 04:30:09","trending"]