You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
optionSet.Add("I=","the {PATH} of a folder to search for include files",(i)=>{AddIncludeDirs(i,errorMessages);});
19
+
optionSet.Add("I=","the {PATH} of a folder to search for include files",i=>{AddIncludeDirs(i,errorMessages);});
19
20
optionSet.Add("l=","{LIBRARY} that that contains the symbols of the generated code", l =>options.Libraries.Add(l));
20
21
optionSet.Add("L=","the {PATH} of a folder to search for additional libraries", l =>options.LibraryDirs.Add(l));
21
22
optionSet.Add("D:","additional define with (optional) value to add to be used while parsing the given header files",(n,v)=>AddDefine(n,v,errorMessages));
22
-
optionSet.Add("A=","additional Clang arguments to pass to the compiler while parsing the given header files",(v)=>AddArgument(v,errorMessages));
23
+
optionSet.Add("A=","additional Clang arguments to pass to the compiler while parsing the given header files",v=>AddArgument(v,errorMessages));
23
24
24
25
optionSet.Add("o=|output=","the {PATH} for the generated bindings file (doesn't need the extension since it will depend on the generator)", v =>HandleOutputArg(v,errorMessages));
25
26
optionSet.Add("on=|outputnamespace=","the {NAMESPACE} that will be used for the generated code", on =>options.OutputNamespace=on);
optionSet.Add("d|debug","enables debug mode which generates more verbose code to aid debugging", v =>options.Debug=true);
31
32
optionSet.Add("c|compile","enables automatic compilation of the generated code", v =>options.Compile=true);
32
33
optionSet.Add("g=|gen=|generator=","the {TYPE} of generated code: 'csharp' or 'cli' ('cli' supported only for Windows)", g =>{GetGeneratorKind(g,errorMessages);});
33
-
optionSet.Add("p=|platform=","the {PLATFORM} that the generated code will target: 'win', 'osx' or 'linux'", p =>{GetDestinationPlatform(p,errorMessages);});
34
-
optionSet.Add("a=|arch=","the {ARCHITECTURE} that the generated code will target: 'x86' or 'x64'", a =>{GetDestinationArchitecture(a,errorMessages);});
34
+
optionSet.Add("p=|platform=","the {PLATFORM} that the generated code will target: 'win', 'osx' or 'linux' or 'emscripten'", p =>{GetDestinationPlatform(p,errorMessages);});
35
+
optionSet.Add("a=|arch=","the {ARCHITECTURE} that the generated code will target: 'x86' or 'x64' or 'wasm32' or 'wasm64'", a =>{GetDestinationArchitecture(a,errorMessages);});
35
36
optionSet.Add("prefix=","sets a string prefix to the names of generated files", a =>{options.Prefix=a;});
36
37
37
38
optionSet.Add("exceptions","enables support for C++ exceptions in the parser", v =>{options.EnableExceptions=true;});
0 commit comments