This is liable to change in the future.A d_binary() rule builds a native executable from the supplied set of D source files and dependencies.
The short name for this build target.
The set of D source files to be compiled by this rule. Each element should be a string specifying a source file (e.g.
The set of dependencies of this rule. Each element should be a string specifying a d_library rule defined elsewhere (e.g.
List of build target patterns that identify the build rules that can include this rule as a dependency, for example, by listing it in their
exported_depsattributes. For more information, see visibility.
# A rule that builds a D native executable from a single .d file # and a library dependency. d_binary( name='greet', srcs=[ 'greet.d', ], deps=[ ':greeting', ], ) d_library( name='greeting', srcs=[ 'greeting.d', ], deps=[ ':join', ], ) d_library( name='join', srcs=[ 'join.d', ], )