Meta tags:
Headings (most frequently used words):
ninja, generator, output, incremental, rebuilds, self, regeneration, sub, packages, and, static, libraries, compiler, support, platform, notes,
Text of the page (most frequently used words):
dub (53), the (18), ninja (16), and (14), build (14), #generator (10), #package (9), are (7), compiler (7), packages (7), reference (6), file (5), sub (5), json (5), generate (5), output (5), for (4), platform (4), static (4), libraries (4), list (4), remove (4), add (4), types (3), generated (3), notes (3), support (3), project (3), source (3), changes (3), selections (3), self (3), regeneration (3), incremental (3), rebuilds (3), test (3), run (3), cli (3), settings (3), guide (3), getting (3), started (3), documentation (3), with (2), target (2), august (2), 2026 (2), written (2), colon (2), own (2), dmd (2), ldc (2), supported (2), translation (2), through (2), same (2), itself (2), targets (2), edges (2), rule (2), files (2), automatically (2), compilation (2), import (2), dependencies (2), root (2), table (2), contents (2), appendix (2), glossary (2), clean (2), override (2), search (2), local (2), path (2), management (2), creation (2), general (2), commands (2), recipe (2), sdl (2), github (2), made, material, mkdocs, next, previous, back, top, last, update, created, developed, tested, windows, well, linux, macos, paths, containing, drive, letters, example, escaped, before, being, into, since, unescaped, conflicts, delimited, syntax, gdc, all, selection, flag, existing, machinery, layer, used, direct, builds, specific, flags, hardcoded, compilers, style, their, library, routed, produce, real, myapp, utils, included, invokes, whenever, does, not, need, regenerated, hand, after, such, regen, uses, populate, directive, level, tracked, module, only, that, actually, recompiled, without, parsing, any, depfile, makedeps, registered, alongside, follows, interface, default, projectgenerator, cmake, sublimetext, visuald, optional, name, can, given, other, than, writes, describing, set, rules, instead, invoking, directly, then, drives, actual, convert, caches, overrides, upgrade, fetch, lint, dustmite, describe, init, suppliers, user, registries, specifications, outputs, hooks, lifecycle, environment, variables, dub_home, defaults, configurations, contributing, creating, shared, dlls, publishing, registry, single, tests, building, recipes, first, steps, installing, intro, initializing, skip, content,
Text of the page (random words):
ninja generator dub documentation skip to content dub documentation ninja generator initializing search github getting started dub guide dub reference cli reference appendix glossary dub documentation github getting started getting started intro to dub installing dub first steps dub guide dub guide dub json dub sdl recipes building tests single file packages selections dub selections json registry publishing packages creating shared libraries dlls contributing to dub ninja generator dub reference dub reference the recipe dub json dub sdl package settings build settings build types configurations recipe defaults dub_home dependencies environment variables build hooks build lifecycle compilation outputs platform specifications registries user settings package suppliers sub packages target types ninja generator ninja generator table of contents output incremental rebuilds self regeneration sub packages and static libraries compiler support platform notes cli reference cli reference general commands general commands dub package creation package creation dub init build test and run build test and run dub build dub clean dub describe dub dustmite dub generate dub lint dub run dub test package management package management dub fetch dub add dub remove dub upgrade dub add path dub remove path dub add local dub remove local dub list dub search dub add override dub remove override dub list overrides dub clean caches dub convert appendix glossary table of contents output incremental rebuilds self regeneration sub packages and static libraries compiler support platform notes ninja generator dub generate ninja writes a build ninja file describing the project s build as a set of ninja rules and edges instead of dub invoking the compiler directly ninja then drives the actual build dub generate ninja an optional package name can be given to generate a build for a package other than the root package output the generator is registered in dub s generator list alongside visuald sublimetext and cmake and follows the same projectgenerator interface the output is written to build ninja in the project root by default incremental rebuilds compilation uses the compiler s makedeps output supported by dmd and ldc to populate ninja s depfile directive import level dependencies are tracked automatically if a module changes only the source files that actually import it are recompiled without dub parsing any d source itself self regeneration a regen rule is included in the generated build ninja it re invokes dub generate ninja automatically whenever dub json dub selections json or the project s source file list changes so the file does not need to be regenerated by hand after such changes sub packages and static libraries sub packages myapp utils style targets are generated as their own build edges static library targets are routed through an ar rule and produce real a files compiler support dmd ldc and gdc are all supported compiler selection and flag translation go through dub s existing dub compilers machinery the same translation layer used for direct builds no compiler specific flags are hardcoded in the generator itself platform notes the generator is developed and tested on windows as well as linux and macos paths containing drive letters for example c are escaped before being written into the generated file since an unescaped colon conflicts with ninja s own colon delimited syntax last update august 16 2026 created august 16 2026 back to top previous target types next dub made with material for mkdocs
|