AFAIK, you can't do it right now. You may tweak the source code. Let me see if I can dig into it.
(Edit)
The problem is the FrameworkName aprox at line Startup.cs:221 :
List<TemplateBindings> bindingsToUse = codeGenMetaData.LoadedTemplateBindingsManager
.GetTemplateBindingsWithFilter(codeGenerationPreferences.LanguageName,
codeGenerationPreferences.PlatformName,
projectToGenerate.GetAllDriverIDsOfDatabasesWithMetaDataInProject().ToList(),
codeGenerationPreferences.FrameworkName);
As you can see, the FrameworkName is taken from the project preferences, which could be "LLBLGen Runtime Framework", "Entity Framework v1", "NHibernate", etc. However the FrameworkName for DDL presets is ""DDL SQL". So the process actually found your "SD.Presets.DDLSQL.CreateScript" preset, your "Create DDL SQL" group, the "RDBMS" platform and "SQL" language, it tries to associate them with the actual target framework of your project (say "LLBLGen Runtime Framework", and that combination is not found in the bindings.
To fix that, you should write code to contemplate this situation. For instance:
...
// <@daelmo.fix>: fix to allo DDLSQL presets
if (presetToRun.Name.Contains("DDLSQL"))
{
codeGenerationPreferences.FrameworkName = presetToRun.SupportedFrameworks.First();
}
// </@daelmo.fix>
List<TemplateBindings> bindingsToUse = codeGenMetaData.LoadedTemplateBindingsManager
.GetTemplateBindingsWithFilter(codeGenerationPreferences.LanguageName,
codeGenerationPreferences.PlatformName,
projectToGenerate.GetAllDriverIDsOfDatabasesWithMetaDataInProject().ToList(),
codeGenerationPreferences.FrameworkName);
...
Actually, above code fix this situation. Try it, remplace the actual cligenerator.exe an run your batch like:
cligenerator ...\NW.llblgenproj NW.LLBL.Tests SQL RDBMS "Create DDL SQL" SD.Presets.DDLSQL.CreateScript ...\_SQLScripts 1 genoutput.log
Finally, I think this case was never was tested because the cligenerator.exe tool is meant to generate code, whatever if your target framework (LLBLG, EF, NH, etc). DDL generation is actually part of the process to sync your model with your db and it was introduced with model-first approach. As a matter of fact, the cligenerator tool generates your DDL scripts if it has to, based on the project validation. So if you want this because you made changes, the built-in process do that already. If you want this, just to generate on-demand sql, then use the fix above.
Hope that helps