Skip to content

Commit 21b93dd

Browse files
committed
Implement C support as generator kind in CLI.
1 parent 2c42a53 commit 21b93dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/CLI/CLI.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ static void GetGeneratorKind(string generator, List<string> errorMessages)
210210
case "cli":
211211
options.Kind = CppSharp.Generators.GeneratorKind.CLI;
212212
return;
213+
case "c":
214+
options.Kind = CppSharp.Generators.GeneratorKind.C;
215+
return;
213216
}
214217

215218
errorMessages.Add($"Unknown generator kind: {generator}. Defaulting to {options.Kind}");

0 commit comments

Comments
 (0)