/// <inheritdoc/> protected ICommandLineConfiguration BuildAndGetConfiguration(NinjaSpec spec, bool includeProjectRoot = true, bool includeSpecFile = true) { return(base.Build() .Configuration(NinjaPrelude(targets: spec.Targets, includeProjectRoot: includeProjectRoot, includeSpecFile: includeSpecFile)) .AddSpec(Path.Combine(SourceRoot, DefaultProjectRoot, DefaultSpecFileName), spec.Content) .PersistSpecsAndGetConfiguration()); }