Bond Compiler 0.13.0.0, (C) Microsoft
 
gbc [COMMAND] ... [OPTIONS]
Compile Bond schema file(s) and generate specified output. The schema file(s) can be in one of two formats: Bond IDL or JSON representation of the schema abstract syntax tree as produced by `gbc schema`. Multiple schema files can be specified either directly on the command line or by listing them in a text file passed to gbc via @listfile syntax.
 
Common flags:
-i--import-dir=DIRAdd the directory to import search path
-o--output-dir=DIROutput generated files into the specified directory
-j--jobs[=NUM]Run NUM jobs simultaneously (or '$ncpus' if no NUM is not given)
-?--helpDisplay help message
-V--versionPrint version information
 --numeric-versionPrint just the version number
 
gbc c++ [OPTIONS] [FILE]
Generate C++ code
 
-u--using=MAPPINGCustom type alias mapping in the form alias=type
-n--namespace=MAPPINGCustom namespace mapping in the form bond_namespace=language_namespace
-h--header=HEADEREmit #include HEADER into the generated files
-e--enum-headerGenerate enums into a separate header file
 --allocator=ALLOCATORGenerate types using the specified allocator
 --apply=PROTOCOLGenerate Apply function overloads for the specified protocol only; supported protocols: compact, fast and simple
 --export-attribute=ATTRIBUTE --apply-attributePrefix declarations for library export with the specified C++ attribute/declspec. apply-attribute is a deprecated synonym.
 --no-bannerOmit the banner at the top of generated files
 --coreGenerate core serialization definitions (true by default, --core=false to disable)
 --alloc-ctorsGenerate constructors with allocator argument
 --type-aliasesGenerate type aliases
 --scoped-allocUse std::scoped_allocator_adaptor for strings and containers
 --enable-service-inheritanceEnable service inheritance syntax in IDL
 
gbc c# [OPTIONS] [FILE]
Generate C# code
 
-u--using=MAPPINGCustom type alias mapping in the form alias=type
-n--namespace=MAPPINGCustom namespace mapping in the form bond_namespace=language_namespace
-c--collection-interfacesUse interfaces rather than concrete collection types
-r--readonly-propertiesGenerate private property setters
-f--fieldsGenerate public fields rather than properties
 --no-bannerOmit the banner at the top of generated files
 --structsGenerate C# types for Bond structs and enums (true by default, use "--structs=false" to disable)
 --enable-service-inheritanceEnable service inheritance syntax in IDL
 --preview-constructor-parametersPREVIEW FEATURE: Generate a constructor that takes all the fields as parameters. Typically used with readonly-properties.
 
gbc java [OPTIONS] [FILE]
Generate Java code
 
-u--using=MAPPINGCurrently unimplemented and ignored for Java
-n--namespace=MAPPINGCustom namespace mapping in the form bond_namespace=language_namespace
 --no-bannerOmit the banner at the top of generated files
 
gbc schema [OPTIONS] [FILE]
Output the JSON representation of the schema
 
-r--runtime-schemaGenerate Simple JSON representation of runtime schema, aka SchemaDef
 --enable-service-inheritanceEnable service inheritance syntax in IDL