Skip to content

Commit 6c0c461

Browse files
committed
Add C++ generator support to the CLI.
1 parent e16f484 commit 6c0c461

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
@@ -216,6 +216,9 @@ static void GetGeneratorKind(string generator, List<string> errorMessages)
216216
case "c":
217217
options.Kind = CppSharp.Generators.GeneratorKind.C;
218218
return;
219+
case "cpp":
220+
options.Kind = CppSharp.Generators.GeneratorKind.CPlusPlus;
221+
return;
219222
}
220223

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

0 commit comments

Comments
 (0)