Browse Source

Add C++ generator support to the CLI.

pull/1516/head
Joao Matos 5 years ago committed by João Matos
parent
commit
6c0c461a84
  1. 3
      src/CLI/CLI.cs

3
src/CLI/CLI.cs

@ -216,6 +216,9 @@ namespace CppSharp @@ -216,6 +216,9 @@ namespace CppSharp
case "c":
options.Kind = CppSharp.Generators.GeneratorKind.C;
return;
case "cpp":
options.Kind = CppSharp.Generators.GeneratorKind.CPlusPlus;
return;
}
errorMessages.Add($"Unknown generator kind: {generator}. Defaulting to {options.Kind}");

Loading…
Cancel
Save