|
@@ -2,148 +2,154 @@
|
|
{
|
|
{
|
|
"name": "AbsolutePath",
|
|
"name": "AbsolutePath",
|
|
"define": "absolute_path",
|
|
"define": "absolute_path",
|
|
- "doc": "Print absolute file path in trace output"
|
|
|
|
|
|
+ "doc": "Print absolute file path in trace output."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "AdvancedTelemetry",
|
|
"name": "AdvancedTelemetry",
|
|
"define": "advanced-telemetry",
|
|
"define": "advanced-telemetry",
|
|
- "doc": "Allow the SWF to be measured with Monocle tool",
|
|
|
|
|
|
+ "doc": "Allow the SWF to be measured with Monocle tool.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "AnnotateSource",
|
|
"name": "AnnotateSource",
|
|
"define": "annotate_source",
|
|
"define": "annotate_source",
|
|
- "doc": "Add additional comments to generated source code",
|
|
|
|
|
|
+ "doc": "Add additional comments to generated source code.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "As3",
|
|
"name": "As3",
|
|
"define": "as3",
|
|
"define": "as3",
|
|
- "doc": "Defined when outputting flash9 as3 source code"
|
|
|
|
|
|
+ "doc": "Defined when outputting flash9 as3 source code."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "CheckXmlProxy",
|
|
"name": "CheckXmlProxy",
|
|
"define": "check_xml_proxy",
|
|
"define": "check_xml_proxy",
|
|
- "doc": "Check the used fields of the xml proxy"
|
|
|
|
|
|
+ "doc": "Check the used fields of the XML proxy."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "CoreApi",
|
|
"name": "CoreApi",
|
|
"define": "core_api",
|
|
"define": "core_api",
|
|
- "doc": "Defined in the core api context"
|
|
|
|
|
|
+ "doc": "Defined in the core API context."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "CoreApiSerialize",
|
|
"name": "CoreApiSerialize",
|
|
"define": "core_api_serialize",
|
|
"define": "core_api_serialize",
|
|
- "doc": "Mark some generated core api classes with the Serializable attribute on C#",
|
|
|
|
|
|
+ "doc": "Mark some generated core API classes with the `Serializable` attribute on C#.",
|
|
"platforms": ["cs"]
|
|
"platforms": ["cs"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Cppia",
|
|
"name": "Cppia",
|
|
"define": "cppia",
|
|
"define": "cppia",
|
|
- "doc": "Generate cpp instruction assembly"
|
|
|
|
|
|
+ "doc": "Generate cpp instruction assembly."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "CsVer",
|
|
"name": "CsVer",
|
|
"define": "cs_ver",
|
|
"define": "cs_ver",
|
|
- "doc": "The C# version to target",
|
|
|
|
|
|
+ "doc": "The C# version to target.",
|
|
"platforms": ["cs"]
|
|
"platforms": ["cs"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NoCppiaAst",
|
|
"name": "NoCppiaAst",
|
|
"define": "nocppiaast",
|
|
"define": "nocppiaast",
|
|
- "doc": "Use legacy cppia generation"
|
|
|
|
|
|
+ "doc": "Use legacy cppia generation."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Dce",
|
|
"name": "Dce",
|
|
"define": "dce",
|
|
"define": "dce",
|
|
- "doc": "<mode:std|full|no> Set the dead code elimination mode (default std)"
|
|
|
|
|
|
+ "doc": "Set the dead code elimination mode. (default: std)",
|
|
|
|
+ "params": ["mode: std | full | no"],
|
|
|
|
+ "links": ["https://haxe.org/manual/cr-dce.html"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "DceDebug",
|
|
"name": "DceDebug",
|
|
"define": "dce_debug",
|
|
"define": "dce_debug",
|
|
- "doc": "Show DCE log"
|
|
|
|
|
|
+ "doc": "Show DCE log.",
|
|
|
|
+ "links": ["https://haxe.org/manual/cr-dce.html"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Debug",
|
|
"name": "Debug",
|
|
"define": "debug",
|
|
"define": "debug",
|
|
- "doc": "Activated when compiling with -debug"
|
|
|
|
|
|
+ "doc": "Activated when compiling with -debug."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "DisableUnicodeStrings",
|
|
"name": "DisableUnicodeStrings",
|
|
"define": "disable_unicode_strings",
|
|
"define": "disable_unicode_strings",
|
|
- "doc": "Disable unicode support in String type on some platforms",
|
|
|
|
|
|
+ "doc": "Disable Unicode support in `String` type.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Display",
|
|
"name": "Display",
|
|
"define": "display",
|
|
"define": "display",
|
|
- "doc": "Activated during completion"
|
|
|
|
|
|
+ "doc": "Activated during completion.",
|
|
|
|
+ "links": ["https://haxe.org/manual/cr-completion.html"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "DisplayStdin",
|
|
"name": "DisplayStdin",
|
|
"define": "display_stdin",
|
|
"define": "display_stdin",
|
|
- "doc": "Read the contents of a file specified in --display from standard input"
|
|
|
|
|
|
+ "doc": "Read the contents of a file specified in `--display` from standard input."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "DllExport",
|
|
"name": "DllExport",
|
|
"define": "dll_export",
|
|
"define": "dll_export",
|
|
- "doc": "GenCPP experimental linking",
|
|
|
|
|
|
+ "doc": "GenCPP experimental linking.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "DllImport",
|
|
"name": "DllImport",
|
|
"define": "dll_import",
|
|
"define": "dll_import",
|
|
- "doc": "Handle Haxe-generated .NET dll imports",
|
|
|
|
|
|
+ "doc": "Handle Haxe-generated .NET DLL imports.",
|
|
"platforms": ["cs"]
|
|
"platforms": ["cs"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "DocGen",
|
|
"name": "DocGen",
|
|
"define": "doc_gen",
|
|
"define": "doc_gen",
|
|
- "doc": "Do not perform any removal/change in order to correctly generate documentation"
|
|
|
|
|
|
+ "doc": "Do not perform any removal/change in order to correctly generate documentation."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Dump",
|
|
"name": "Dump",
|
|
"define": "dump",
|
|
"define": "dump",
|
|
- "doc": "<mode:pretty|record|position|legacy> Dump typed AST in dump subdirectory using specified mode or non-prettified default"
|
|
|
|
|
|
+ "doc": "Dump typed AST in dump subdirectory using specified mode or non-prettified default.",
|
|
|
|
+ "params": ["mode: pretty | record | position | legacy"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "DumpDependencies",
|
|
"name": "DumpDependencies",
|
|
"define": "dump_dependencies",
|
|
"define": "dump_dependencies",
|
|
- "doc": "Dump the classes dependencies in a dump subdirectory"
|
|
|
|
|
|
+ "doc": "Dump the classes dependencies in a dump subdirectory."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "DumpIgnoreVarIds",
|
|
"name": "DumpIgnoreVarIds",
|
|
"define": "dump_ignore_var_ids",
|
|
"define": "dump_ignore_var_ids",
|
|
- "doc": "Remove variable IDs from non-pretty dumps (helps with diff)"
|
|
|
|
|
|
+ "doc": "Remove variable IDs from non-pretty dumps (helps with diff)."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "DynamicInterfaceClosures",
|
|
"name": "DynamicInterfaceClosures",
|
|
"define": "dynamic_interface_closures",
|
|
"define": "dynamic_interface_closures",
|
|
- "doc": "Use slow path for interface closures to save space",
|
|
|
|
|
|
+ "doc": "Use slow path for interface closures to save space.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "EraseGenerics",
|
|
"name": "EraseGenerics",
|
|
"define": "erase_generics",
|
|
"define": "erase_generics",
|
|
- "doc": "Erase generic classes on C#",
|
|
|
|
|
|
+ "doc": "Erase generic classes on C#.",
|
|
"platforms": ["cs"]
|
|
"platforms": ["cs"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "EvalCallStackDepth",
|
|
"name": "EvalCallStackDepth",
|
|
"define": "eval_call_stack_depth",
|
|
"define": "eval_call_stack_depth",
|
|
- "doc": "Set maximum call stack depth for eval. Default: 1000.",
|
|
|
|
- "platforms": ["eval"]
|
|
|
|
|
|
+ "doc": "Set maximum call stack depth for eval. (default: 1000)",
|
|
|
|
+ "platforms": ["eval"],
|
|
|
|
+ "params": ["depth"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "EvalDebugger",
|
|
"name": "EvalDebugger",
|
|
"define": "eval_debugger",
|
|
"define": "eval_debugger",
|
|
- "doc": "Support debugger in macro/interp mode. Allows host:port value to open a socket. Implies eval_stack.",
|
|
|
|
|
|
+ "doc": "Support debugger in macro/interp mode. Allows `host:port` value to open a socket. Implies eval_stack.",
|
|
"platforms": ["eval"]
|
|
"platforms": ["eval"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "EvalStack",
|
|
"name": "EvalStack",
|
|
"define": "eval_stack",
|
|
"define": "eval_stack",
|
|
- "doc": "Record stack information in macro/interp mode",
|
|
|
|
|
|
+ "doc": "Record stack information in macro/interp mode.",
|
|
"platforms": ["eval"]
|
|
"platforms": ["eval"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -155,201 +161,207 @@
|
|
{
|
|
{
|
|
"name": "FastCast",
|
|
"name": "FastCast",
|
|
"define": "fast_cast",
|
|
"define": "fast_cast",
|
|
- "doc": "Enables an experimental casts cleanup on C# and Java",
|
|
|
|
|
|
+ "doc": "Enables an experimental casts cleanup on C# and Java.",
|
|
"platforms": ["cs", "java"]
|
|
"platforms": ["cs", "java"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Fdb",
|
|
"name": "Fdb",
|
|
"define": "fdb",
|
|
"define": "fdb",
|
|
- "doc": "Enable full flash debug infos for FDB interactive debugging",
|
|
|
|
|
|
+ "doc": "Enable full flash debug infos for FDB interactive debugging.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "FileExtension",
|
|
"name": "FileExtension",
|
|
"define": "file_extension",
|
|
"define": "file_extension",
|
|
- "doc": "Output filename extension for cpp source code",
|
|
|
|
|
|
+ "doc": "Output filename extension for cpp source code.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "FlashStrict",
|
|
"name": "FlashStrict",
|
|
"define": "flash_strict",
|
|
"define": "flash_strict",
|
|
- "doc": "More strict typing for flash target",
|
|
|
|
|
|
+ "doc": "More strict typing for flash target.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "FlashUseStage",
|
|
"name": "FlashUseStage",
|
|
"define": "flash_use_stage",
|
|
"define": "flash_use_stage",
|
|
- "doc": "Keep the SWF library initial stage",
|
|
|
|
|
|
+ "doc": "Keep the SWF library initial stage.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"devcomment": "force_lib_check is only here as a debug facility - compiler checking allows errors to be found more easily",
|
|
"devcomment": "force_lib_check is only here as a debug facility - compiler checking allows errors to be found more easily",
|
|
"name": "ForceLibCheck",
|
|
"name": "ForceLibCheck",
|
|
"define": "force_lib_check",
|
|
"define": "force_lib_check",
|
|
- "doc": "Force the compiler to check -net-lib and -java-lib added classes (internal)",
|
|
|
|
|
|
+ "doc": "Force the compiler to check `--net-lib` and `–-java-lib` added classes (internal).",
|
|
"platforms": ["cs", "java"]
|
|
"platforms": ["cs", "java"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "ForceNativeProperty",
|
|
"name": "ForceNativeProperty",
|
|
"define": "force_native_property",
|
|
"define": "force_native_property",
|
|
- "doc": "Tag all properties with :nativeProperty metadata for 3.1 compatibility",
|
|
|
|
|
|
+ "doc": "Tag all properties with `:nativeProperty` metadata for 3.1 compatibility.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "GencommonDebug",
|
|
"name": "GencommonDebug",
|
|
"define": "gencommon_debug",
|
|
"define": "gencommon_debug",
|
|
- "doc": "GenCommon internal",
|
|
|
|
|
|
+ "doc": "GenCommon internal.",
|
|
"platforms": ["cs", "java"]
|
|
"platforms": ["cs", "java"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Haxe3Compat",
|
|
"name": "Haxe3Compat",
|
|
"define": "haxe3compat",
|
|
"define": "haxe3compat",
|
|
- "doc": "Gives warnings about transition from Haxe 3.x to Haxe 4.0"
|
|
|
|
|
|
+ "doc": "Gives warnings about transition from Haxe 3.x to Haxe 4.0."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "HaxeBoot",
|
|
"name": "HaxeBoot",
|
|
"define": "haxe_boot",
|
|
"define": "haxe_boot",
|
|
- "doc": "Given the name 'haxe' to the flash boot class instead of a generated name",
|
|
|
|
|
|
+ "doc": "Give the name 'haxe' to the flash boot class instead of a generated name.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "HaxeVer",
|
|
"name": "HaxeVer",
|
|
"define": "haxe_ver",
|
|
"define": "haxe_ver",
|
|
- "doc": "The current Haxe version value as decimal number. E.g. 4.000 for 4.0.0"
|
|
|
|
|
|
+ "doc": "The current Haxe version value as decimal number. E.g. 3.407 for 3.4.7."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Haxe",
|
|
"name": "Haxe",
|
|
"define": "haxe",
|
|
"define": "haxe",
|
|
- "doc": "The current Haxe version value in SemVer format"
|
|
|
|
|
|
+ "doc": "The current Haxe version value in SemVer format."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "HxcppApiLevel",
|
|
"name": "HxcppApiLevel",
|
|
"define": "hxcpp_api_level",
|
|
"define": "hxcpp_api_level",
|
|
- "doc": "Provided to allow compatibility between hxcpp versions",
|
|
|
|
|
|
+ "doc": "Provided to allow compatibility between hxcpp versions.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "HxcppGcGenerational",
|
|
"name": "HxcppGcGenerational",
|
|
- "define": "HXCPP_GC_GENERATIONAL",
|
|
|
|
- "doc": "Experimental Garbage Collector",
|
|
|
|
|
|
+ "define": "hxcpp_gc_generational",
|
|
|
|
+ "doc": "Experimental Garbage Collector.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "HxcppDebugger",
|
|
"name": "HxcppDebugger",
|
|
- "define": "HXCPP_DEBUGGER",
|
|
|
|
- "doc": "Include additional information for HXCPP_DEBUGGER",
|
|
|
|
|
|
+ "define": "hxcpp_debugger",
|
|
|
|
+ "doc": "Include additional information for hxcpp_debugger.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "HxcppSmartStings",
|
|
"name": "HxcppSmartStings",
|
|
"define": "hxcpp_smart_strings",
|
|
"define": "hxcpp_smart_strings",
|
|
- "doc": "Use wide strings in hxcpp (Turned on by default unless `-D disable_unicode_strings` is specified)",
|
|
|
|
|
|
+ "doc": "Use wide strings in hxcpp. (Turned on by default unless `-D disable_unicode_strings` is specified.)",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "IncludePrefix",
|
|
"name": "IncludePrefix",
|
|
"define": "include_prefix",
|
|
"define": "include_prefix",
|
|
- "doc": "prepend path to generated include files",
|
|
|
|
|
|
+ "doc": "Prepend path to generated include files.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Interp",
|
|
"name": "Interp",
|
|
"define": "interp",
|
|
"define": "interp",
|
|
- "doc": "The code is compiled to be run with --interp"
|
|
|
|
|
|
+ "doc": "The code is compiled to be run with `--interp`."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "JavaVer",
|
|
"name": "JavaVer",
|
|
"define": "java_ver",
|
|
"define": "java_ver",
|
|
- "doc": "<version:5-7> Sets the Java version to be targeted",
|
|
|
|
- "platforms": ["java"]
|
|
|
|
|
|
+ "doc": "Sets the Java version to be targeted.",
|
|
|
|
+ "platforms": ["java"],
|
|
|
|
+ "params": ["version: 5-7"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "JsClassic",
|
|
"name": "JsClassic",
|
|
"define": "js_classic",
|
|
"define": "js_classic",
|
|
- "doc": "Don't use a function wrapper and strict mode in JS output",
|
|
|
|
|
|
+ "doc": "Don't use a function wrapper and strict mode in JS output.",
|
|
"platforms": ["js"]
|
|
"platforms": ["js"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "JsEs",
|
|
"name": "JsEs",
|
|
"define": "js_es",
|
|
"define": "js_es",
|
|
- "doc": "Generate JS compliant with given ES standard version (default 5)",
|
|
|
|
|
|
+ "doc": "Generate JS compliant with given ES standard version. (default: 5)",
|
|
"platforms": ["js"],
|
|
"platforms": ["js"],
|
|
- "params": ["version number"]
|
|
|
|
|
|
+ "params": ["version number"],
|
|
|
|
+ "links": ["https://haxe.org/manual/target-javascript-es6.html"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "JsEnumsAsArrays",
|
|
"name": "JsEnumsAsArrays",
|
|
"define": "js_enums_as_arrays",
|
|
"define": "js_enums_as_arrays",
|
|
- "doc": "Generate enum representation as array instead of as object",
|
|
|
|
|
|
+ "doc": "Generate enum representation as array instead of as object.",
|
|
"platforms": ["js"]
|
|
"platforms": ["js"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "JsUnflatten",
|
|
"name": "JsUnflatten",
|
|
"define": "js_unflatten",
|
|
"define": "js_unflatten",
|
|
- "doc": "Generate nested objects for packages and types",
|
|
|
|
|
|
+ "doc": "Generate nested objects for packages and types.",
|
|
"platforms": ["js"]
|
|
"platforms": ["js"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "JsSourceMap",
|
|
"name": "JsSourceMap",
|
|
"define": "js_source_map",
|
|
"define": "js_source_map",
|
|
- "doc": "Generate JavaScript source map even in non-debug mode",
|
|
|
|
|
|
+ "doc": "Generate JavaScript source map even in non-debug mode.",
|
|
"platforms": ["js"]
|
|
"platforms": ["js"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Jvm",
|
|
"name": "Jvm",
|
|
"define": "jvm",
|
|
"define": "jvm",
|
|
- "doc": "Generate jvm directly",
|
|
|
|
|
|
+ "doc": "Generate jvm directly.",
|
|
"platforms": ["java"]
|
|
"platforms": ["java"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "SourceMap",
|
|
"name": "SourceMap",
|
|
"define": "source_map",
|
|
"define": "source_map",
|
|
- "doc": "Generate source map for compiled files (Currently supported for php only)",
|
|
|
|
|
|
+ "doc": "Generate source map for compiled files.",
|
|
"platforms": ["php"]
|
|
"platforms": ["php"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "KeepOldOutput",
|
|
"name": "KeepOldOutput",
|
|
"define": "keep_old_output",
|
|
"define": "keep_old_output",
|
|
- "doc": "Keep old source files in the output directory",
|
|
|
|
|
|
+ "doc": "Keep old source files in the output directory.",
|
|
"platforms": ["cs", "java"]
|
|
"platforms": ["cs", "java"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "LoopUnrollMaxCost",
|
|
"name": "LoopUnrollMaxCost",
|
|
"define": "loop_unroll_max_cost",
|
|
"define": "loop_unroll_max_cost",
|
|
- "doc": "Maximum cost (number of expressions * iterations) before loop unrolling is canceled (default 250)"
|
|
|
|
|
|
+ "doc": "Maximum cost (number of expressions * iterations) before loop unrolling is canceled. (default: 250)",
|
|
|
|
+ "params": ["cost"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "LuaJit",
|
|
"name": "LuaJit",
|
|
"define": "lua_jit",
|
|
"define": "lua_jit",
|
|
- "doc": "Enable the jit compiler for lua (version 5.2 only)",
|
|
|
|
|
|
+ "doc": "Enable the jit compiler for lua (version 5.2 only).",
|
|
"platforms": ["lua"]
|
|
"platforms": ["lua"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "LuaVanilla",
|
|
"name": "LuaVanilla",
|
|
"define": "lua_vanilla",
|
|
"define": "lua_vanilla",
|
|
- "doc": "Generate code lacking compiled extern lib support (e.g. utf8)",
|
|
|
|
|
|
+ "doc": "Generate code lacking compiled extern lib support (e.g. utf8).",
|
|
"platforms": ["lua"]
|
|
"platforms": ["lua"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "LuaVer",
|
|
"name": "LuaVer",
|
|
"define": "lua_ver",
|
|
"define": "lua_ver",
|
|
- "doc": "The lua version to target",
|
|
|
|
- "platforms": ["lua"]
|
|
|
|
|
|
+ "doc": "The lua version to target.",
|
|
|
|
+ "platforms": ["lua"],
|
|
|
|
+ "params": ["version"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Macro",
|
|
"name": "Macro",
|
|
"define": "macro",
|
|
"define": "macro",
|
|
- "doc": "Defined when code is compiled in the macro context"
|
|
|
|
|
|
+ "doc": "Defined when code is compiled in the macro context.",
|
|
|
|
+ "links": ["https://haxe.org/manual/macro.html"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "MacroTimes",
|
|
"name": "MacroTimes",
|
|
"define": "macro_times",
|
|
"define": "macro_times",
|
|
- "doc": "Display per-macro timing when used with --times"
|
|
|
|
|
|
+ "doc": "Display per-macro timing when used with `--times`."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NetVer",
|
|
"name": "NetVer",
|
|
"define": "net_ver",
|
|
"define": "net_ver",
|
|
- "doc": "<version:20-45> Sets the .NET version to be targeted",
|
|
|
|
- "platforms": ["cs"]
|
|
|
|
|
|
+ "doc": "Sets the .NET version to be targeted.",
|
|
|
|
+ "platforms": ["cs"],
|
|
|
|
+ "params": ["version: 20-45"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NetcoreVer",
|
|
"name": "NetcoreVer",
|
|
@@ -360,96 +372,98 @@
|
|
{
|
|
{
|
|
"name": "NetTarget",
|
|
"name": "NetTarget",
|
|
"define": "net_target",
|
|
"define": "net_target",
|
|
- "doc": "<name> Sets the .NET target. Defaults to \"net\". netcore, xbox, micro (Micro Framework), compact (Compact Framework) are some valid values",
|
|
|
|
- "platforms": ["cs"]
|
|
|
|
|
|
+ "doc": "Sets the .NET target. `netcore` (.NET core), `xbox`, `micro` (Micro Framework), `compact` (Compact Framework) are some valid values. (default: `net`)",
|
|
|
|
+ "platforms": ["cs"],
|
|
|
|
+ "params": ["name"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NekoSource",
|
|
"name": "NekoSource",
|
|
"define": "neko_source",
|
|
"define": "neko_source",
|
|
- "doc": "Output neko source instead of bytecode",
|
|
|
|
|
|
+ "doc": "Output neko source instead of bytecode.",
|
|
"platforms": ["neko"]
|
|
"platforms": ["neko"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NekoV1",
|
|
"name": "NekoV1",
|
|
"define": "neko_v1",
|
|
"define": "neko_v1",
|
|
- "doc": "Keep Neko 1.x compatibility",
|
|
|
|
|
|
+ "doc": "Keep Neko 1.x compatibility.",
|
|
"platforms": ["neko"]
|
|
"platforms": ["neko"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NetworkSandbox",
|
|
"name": "NetworkSandbox",
|
|
"define": "network-sandbox",
|
|
"define": "network-sandbox",
|
|
- "doc": "Use local network sandbox instead of local file access one",
|
|
|
|
|
|
+ "doc": "Use local network sandbox instead of local file access one.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NoCompilation",
|
|
"name": "NoCompilation",
|
|
"define": "no-compilation",
|
|
"define": "no-compilation",
|
|
- "doc": "Disable final compilation",
|
|
|
|
|
|
+ "doc": "Disable final compilation.",
|
|
"platforms": ["cs", "java", "cpp", "hl"]
|
|
"platforms": ["cs", "java", "cpp", "hl"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NoCOpt",
|
|
"name": "NoCOpt",
|
|
"define": "no_copt",
|
|
"define": "no_copt",
|
|
- "doc": "Disable completion optimization (for debug purposes)"
|
|
|
|
|
|
+ "doc": "Disable completion optimization (for debug purposes)."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NoDebug",
|
|
"name": "NoDebug",
|
|
"define": "no_debug",
|
|
"define": "no_debug",
|
|
- "doc": "Remove all debug macros from cpp output"
|
|
|
|
|
|
+ "doc": "Remove all debug macros from cpp output."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NoDeprecationWarnings",
|
|
"name": "NoDeprecationWarnings",
|
|
"define": "no-deprecation-warnings",
|
|
"define": "no-deprecation-warnings",
|
|
- "doc": "Do not warn if fields annotated with @:deprecated are used"
|
|
|
|
|
|
+ "doc": "Do not warn if fields annotated with `@:deprecated` are used."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NoFlashOverride",
|
|
"name": "NoFlashOverride",
|
|
"define": "no-flash-override",
|
|
"define": "no-flash-override",
|
|
- "doc": "Change overrides on some basic classes into HX suffixed methods, flash only",
|
|
|
|
|
|
+ "doc": "Change overrides on some basic classes into HX suffixed methods",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NoOpt",
|
|
"name": "NoOpt",
|
|
"define": "no_opt",
|
|
"define": "no_opt",
|
|
- "doc": "Disable optimizations"
|
|
|
|
|
|
+ "doc": "Disable optimizations."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NoInline",
|
|
"name": "NoInline",
|
|
"define": "no_inline",
|
|
"define": "no_inline",
|
|
- "doc": "Disable inlining"
|
|
|
|
|
|
+ "doc": "Disable inlining.",
|
|
|
|
+ "links": ["https://haxe.org/manual/class-field-inline.html"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NoRoot",
|
|
"name": "NoRoot",
|
|
"define": "no_root",
|
|
"define": "no_root",
|
|
- "doc": "Generate top-level types into haxe.root namespace",
|
|
|
|
|
|
+ "doc": "Generate top-level types into the `haxe.root` namespace.",
|
|
"platforms": ["cs"]
|
|
"platforms": ["cs"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NoMacroCache",
|
|
"name": "NoMacroCache",
|
|
"define": "no_macro_cache",
|
|
"define": "no_macro_cache",
|
|
- "doc": "Disable macro context caching"
|
|
|
|
|
|
+ "doc": "Disable macro context caching."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NoSwfCompress",
|
|
"name": "NoSwfCompress",
|
|
"define": "no_swf_compress",
|
|
"define": "no_swf_compress",
|
|
- "doc": "Disable SWF output compression",
|
|
|
|
|
|
+ "doc": "Disable SWF output compression.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "NoTraces",
|
|
"name": "NoTraces",
|
|
"define": "no_traces",
|
|
"define": "no_traces",
|
|
- "doc": "Disable all trace calls"
|
|
|
|
|
|
+ "doc": "Disable all trace calls."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Objc",
|
|
"name": "Objc",
|
|
"define": "objc",
|
|
"define": "objc",
|
|
- "doc": "Sets the hxcpp output to objective-c++ classes. Must be defined for interop",
|
|
|
|
|
|
+ "doc": "Sets the hxcpp output to Objective-C++ classes. Must be defined for interop.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "OldConstructorInline",
|
|
"name": "OldConstructorInline",
|
|
"define": "old-constructor-inline",
|
|
"define": "old-constructor-inline",
|
|
- "doc": "Use old constructor inlining logic (from haxe 3.4.2) instead of the reworked version."
|
|
|
|
|
|
+ "doc": "Use old constructor inlining logic (from Haxe 3.4.2) instead of the reworked version."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "OldErrorFormat",
|
|
"name": "OldErrorFormat",
|
|
@@ -460,157 +474,165 @@
|
|
"name": "PhpPrefix",
|
|
"name": "PhpPrefix",
|
|
"define": "php_prefix",
|
|
"define": "php_prefix",
|
|
"doc": "Root namespace for generated php classes. E.g. if compiled with`-D php-prefix=some.sub`, then all classes will be generated in `\\some\\sub` namespace.",
|
|
"doc": "Root namespace for generated php classes. E.g. if compiled with`-D php-prefix=some.sub`, then all classes will be generated in `\\some\\sub` namespace.",
|
|
- "platforms": ["php"]
|
|
|
|
|
|
+ "platforms": ["php"],
|
|
|
|
+ "params": ["dot-separated namespace"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "PhpLib",
|
|
"name": "PhpLib",
|
|
"define": "php_lib",
|
|
"define": "php_lib",
|
|
"doc": "Select the name for the php lib folder.",
|
|
"doc": "Select the name for the php lib folder.",
|
|
- "platforms": ["php"]
|
|
|
|
|
|
+ "platforms": ["php"],
|
|
|
|
+ "params": ["folder name"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "PhpFront",
|
|
"name": "PhpFront",
|
|
"define": "php_front",
|
|
"define": "php_front",
|
|
- "doc": "Select the name for the php front file (by default: `index.php`).",
|
|
|
|
- "platforms": ["php"]
|
|
|
|
|
|
+ "doc": "Select the name for the php front file. (default: `index.php`)",
|
|
|
|
+ "platforms": ["php"],
|
|
|
|
+ "params": ["filename"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "PythonVersion",
|
|
"name": "PythonVersion",
|
|
"define": "python_version",
|
|
"define": "python_version",
|
|
- "doc": "The python version to target (default 3.3)",
|
|
|
|
- "platforms": ["python"]
|
|
|
|
|
|
+ "doc": "The python version to target. (default: 3.3)",
|
|
|
|
+ "platforms": ["python"],
|
|
|
|
+ "params": ["version"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "RealPosition",
|
|
"name": "RealPosition",
|
|
"define": "real_position",
|
|
"define": "real_position",
|
|
- "doc": "Disables Haxe source mapping when targetting C#, removes position comments in Java and Php output",
|
|
|
|
|
|
+ "doc": "Disables Haxe source mapping when targetting C#, removes position comments in Java and Php output.",
|
|
"platforms": ["cs", "java", "php"]
|
|
"platforms": ["cs", "java", "php"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "ReplaceFiles",
|
|
"name": "ReplaceFiles",
|
|
"define": "replace_files",
|
|
"define": "replace_files",
|
|
- "doc": "GenCommon internal",
|
|
|
|
|
|
+ "doc": "GenCommon internal.",
|
|
"platforms": ["cs", "java"]
|
|
"platforms": ["cs", "java"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Scriptable",
|
|
"name": "Scriptable",
|
|
"define": "scriptable",
|
|
"define": "scriptable",
|
|
- "doc": "GenCPP internal",
|
|
|
|
|
|
+ "doc": "GenCPP internal.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "ShallowExpose",
|
|
"name": "ShallowExpose",
|
|
"define": "shallow-expose",
|
|
"define": "shallow-expose",
|
|
- "doc": "Expose types to surrounding scope of Haxe generated closure without writing to window object",
|
|
|
|
|
|
+ "doc": "Expose types to surrounding scope of Haxe generated closure without writing to window object.",
|
|
"platforms": ["js"]
|
|
"platforms": ["js"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "SourceHeader",
|
|
"name": "SourceHeader",
|
|
"define": "source-header",
|
|
"define": "source-header",
|
|
- "doc": "Print value as comment on top of generated files, use '' value to disable"
|
|
|
|
|
|
+ "doc": "Print value as comment on top of generated files, use '' value to disable."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "SourceMapContent",
|
|
"name": "SourceMapContent",
|
|
"define": "source-map-content",
|
|
"define": "source-map-content",
|
|
- "doc": "Include the hx sources as part of the JS source map",
|
|
|
|
|
|
+ "doc": "Include the Haxe sources as part of the JS source map.",
|
|
"platforms": ["js"]
|
|
"platforms": ["js"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Static",
|
|
"name": "Static",
|
|
"define": "static",
|
|
"define": "static",
|
|
- "doc": "Defined if the current target is static"
|
|
|
|
|
|
+ "doc": "Defined if the current target is static."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Swc",
|
|
"name": "Swc",
|
|
"define": "swc",
|
|
"define": "swc",
|
|
- "doc": "Output a SWC instead of a SWF",
|
|
|
|
|
|
+ "doc": "Output a SWC instead of a SWF.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "SwfCompressLevel",
|
|
"name": "SwfCompressLevel",
|
|
"define": "swf_compress_level",
|
|
"define": "swf_compress_level",
|
|
- "doc": "<level:1-9> Set the amount of compression for the SWF output",
|
|
|
|
- "platforms": ["flash"]
|
|
|
|
|
|
+ "doc": "Set the amount of compression for the SWF output.",
|
|
|
|
+ "platforms": ["flash"],
|
|
|
|
+ "params": ["level: 1-9"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "SwfDebugPassword",
|
|
"name": "SwfDebugPassword",
|
|
"define": "swf_debug_password",
|
|
"define": "swf_debug_password",
|
|
- "doc": "Set a password for debugging",
|
|
|
|
- "platforms": ["flash"]
|
|
|
|
|
|
+ "doc": "Set a password for debugging.",
|
|
|
|
+ "platforms": ["flash"],
|
|
|
|
+ "params": ["password"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "SwfDirectBlit",
|
|
"name": "SwfDirectBlit",
|
|
"define": "swf_direct_blit",
|
|
"define": "swf_direct_blit",
|
|
- "doc": "Use hardware acceleration to blit graphics",
|
|
|
|
|
|
+ "doc": "Use hardware acceleration to blit graphics.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "SwfGpu",
|
|
"name": "SwfGpu",
|
|
"define": "swf_gpu",
|
|
"define": "swf_gpu",
|
|
- "doc": "Use GPU compositing features when drawing graphics",
|
|
|
|
|
|
+ "doc": "Use GPU compositing features when drawing graphics.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "SwfMetadata",
|
|
"name": "SwfMetadata",
|
|
"define": "swf_metadata",
|
|
"define": "swf_metadata",
|
|
- "doc": "<file> Include contents of <file> as metadata in the swf",
|
|
|
|
- "platforms": ["flash"]
|
|
|
|
|
|
+ "doc": "Include contents of the given file as metadata in the SWF.",
|
|
|
|
+ "platforms": ["flash"],
|
|
|
|
+ "params": ["file"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "SwfPreloaderFrame",
|
|
"name": "SwfPreloaderFrame",
|
|
"define": "swf_preloader_frame",
|
|
"define": "swf_preloader_frame",
|
|
- "doc": "Insert empty first frame in swf",
|
|
|
|
|
|
+ "doc": "Insert empty first frame in SWF.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "SwfProtected",
|
|
"name": "SwfProtected",
|
|
"define": "swf_protected",
|
|
"define": "swf_protected",
|
|
- "doc": "Compile Haxe private as protected in the SWF instead of public",
|
|
|
|
|
|
+ "doc": "Compile Haxe `private` as `protected` in the SWF instead of `public`.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "SwfScriptTimeout",
|
|
"name": "SwfScriptTimeout",
|
|
"define": "swf_script_timeout",
|
|
"define": "swf_script_timeout",
|
|
- "doc": "Maximum ActionScript processing time before script stuck dialog box displays (in seconds)",
|
|
|
|
- "platforms": ["flash"]
|
|
|
|
|
|
+ "doc": "Maximum ActionScript processing time before script stuck dialog box displays.",
|
|
|
|
+ "platforms": ["flash"],
|
|
|
|
+ "params": ["time in seconds"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "SwfUseDoAbc",
|
|
"name": "SwfUseDoAbc",
|
|
"define": "swf_use_doabc",
|
|
"define": "swf_use_doabc",
|
|
- "doc": "Use DoAbc swf-tag instead of DoAbcDefine",
|
|
|
|
|
|
+ "doc": "Use `DoAbc` SWF-tag instead of `DoAbcDefine`.",
|
|
"platforms": ["flash"]
|
|
"platforms": ["flash"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Sys",
|
|
"name": "Sys",
|
|
"define": "sys",
|
|
"define": "sys",
|
|
- "doc": "Defined for all system platforms"
|
|
|
|
|
|
+ "doc": "Defined for all system platforms."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Unsafe",
|
|
"name": "Unsafe",
|
|
"define": "unsafe",
|
|
"define": "unsafe",
|
|
- "doc": "Allow unsafe code when targeting C#",
|
|
|
|
|
|
+ "doc": "Allow unsafe code when targeting C#.",
|
|
"platforms": ["cs"]
|
|
"platforms": ["cs"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "UseNekoc",
|
|
"name": "UseNekoc",
|
|
"define": "use_nekoc",
|
|
"define": "use_nekoc",
|
|
- "doc": "Use nekoc compiler instead of internal one",
|
|
|
|
|
|
+ "doc": "Use `nekoc` compiler instead of the internal one.",
|
|
"platforms": ["neko"]
|
|
"platforms": ["neko"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Utf16",
|
|
"name": "Utf16",
|
|
"define": "utf16",
|
|
"define": "utf16",
|
|
- "doc": "Defined for all platforms that have utf16 encoding with ucs2 api"
|
|
|
|
|
|
+ "doc": "Defined for all platforms that use UTF-16 string encoding with UCS-2 API."
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "Vcproj",
|
|
"name": "Vcproj",
|
|
"define": "vcproj",
|
|
"define": "vcproj",
|
|
- "doc": "GenCPP internal",
|
|
|
|
|
|
+ "doc": "GenCPP internal.",
|
|
"platforms": ["cpp"]
|
|
"platforms": ["cpp"]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"name": "WarnVarShadowing",
|
|
"name": "WarnVarShadowing",
|
|
"define": "warn_var_shadowing",
|
|
"define": "warn_var_shadowing",
|
|
- "doc": "Warn about shadowing variable declarations"
|
|
|
|
|
|
+ "doc": "Warn about shadowing variable declarations."
|
|
}
|
|
}
|
|
]
|
|
]
|