define.json 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755
  1. [
  2. {
  3. "name": "AbsolutePath",
  4. "define": "absolute-path",
  5. "doc": "Print absolute file path in trace output."
  6. },
  7. {
  8. "name": "AdvancedTelemetry",
  9. "define": "advanced-telemetry",
  10. "doc": "Allow the SWF to be measured with Monocle tool.",
  11. "platforms": ["flash"]
  12. },
  13. {
  14. "name": "AnalyzerOptimize",
  15. "define": "analyzer-optimize",
  16. "doc": "Perform advanced optimizations."
  17. },
  18. {
  19. "name": "AnalyzerTimes",
  20. "define": "analyzer-times",
  21. "doc": "Record detailed timers for the analyzer",
  22. "params": ["level: 0 | 1 | 2"]
  23. },
  24. {
  25. "name": "AnnotateSource",
  26. "define": "annotate-source",
  27. "doc": "Add additional comments to generated source code.",
  28. "platforms": ["cpp"]
  29. },
  30. {
  31. "name": "CheckXmlProxy",
  32. "define": "check-xml-proxy",
  33. "doc": "Check the used fields of the XML proxy."
  34. },
  35. {
  36. "name": "CoreApi",
  37. "define": "core-api",
  38. "doc": "Defined in the core API context."
  39. },
  40. {
  41. "name": "CoreApiSerialize",
  42. "define": "core-api-serialize",
  43. "doc": "Mark some generated core API classes with the `Serializable` attribute on C#.",
  44. "platforms": ["cs"]
  45. },
  46. {
  47. "name": "Cppia",
  48. "define": "cppia",
  49. "doc": "Generate cpp instruction assembly."
  50. },
  51. {
  52. "name": "CsVer",
  53. "define": "cs-ver",
  54. "doc": "The C# version to target.",
  55. "platforms": ["cs"],
  56. "params": ["version"]
  57. },
  58. {
  59. "name": "NoCppiaAst",
  60. "define": "nocppiaast",
  61. "doc": "Use legacy cppia generation."
  62. },
  63. {
  64. "name": "Dce",
  65. "define": "dce",
  66. "doc": "Set the dead code elimination mode. (default: std)",
  67. "params": ["mode: std | full | no"],
  68. "links": ["https://haxe.org/manual/cr-dce.html"]
  69. },
  70. {
  71. "name": "DceDebug",
  72. "define": "dce-debug",
  73. "doc": "Show DCE log.",
  74. "links": ["https://haxe.org/manual/cr-dce.html"]
  75. },
  76. {
  77. "name": "Debug",
  78. "define": "debug",
  79. "doc": "Activated when compiling with -debug."
  80. },
  81. {
  82. "name": "DisableUnicodeStrings",
  83. "define": "disable-unicode-strings",
  84. "doc": "Disable Unicode support in `String` type.",
  85. "platforms": ["cpp"]
  86. },
  87. {
  88. "name": "Display",
  89. "define": "display",
  90. "doc": "Activated during completion.",
  91. "links": ["https://haxe.org/manual/cr-completion.html"]
  92. },
  93. {
  94. "name": "DisplayStdin",
  95. "define": "display-stdin",
  96. "doc": "Read the contents of a file specified in `--display` from standard input."
  97. },
  98. {
  99. "name": "DllExport",
  100. "define": "dll-export",
  101. "doc": "GenCPP experimental linking.",
  102. "platforms": ["cpp"]
  103. },
  104. {
  105. "name": "DllImport",
  106. "define": "dll-import",
  107. "doc": "Handle Haxe-generated .NET DLL imports.",
  108. "platforms": ["cs"]
  109. },
  110. {
  111. "name": "DocGen",
  112. "define": "doc-gen",
  113. "doc": "Do not perform any removal/change in order to correctly generate documentation."
  114. },
  115. {
  116. "name": "Dump",
  117. "define": "dump",
  118. "doc": "Dump typed AST in dump subdirectory using specified mode or non-prettified default.",
  119. "params": ["mode: pretty | record | position | legacy"]
  120. },
  121. {
  122. "name": "DumpPath",
  123. "define": "dump-path",
  124. "doc": "Path to generate dumps to (default: \"dump\").",
  125. "params": ["path"]
  126. },
  127. {
  128. "name": "DumpDependencies",
  129. "define": "dump-dependencies",
  130. "doc": "Dump the classes dependencies in a dump subdirectory."
  131. },
  132. {
  133. "name": "DumpIgnoreVarIds",
  134. "define": "dump-ignore-var-ids",
  135. "doc": "Remove variable IDs from non-pretty dumps (helps with diff)."
  136. },
  137. {
  138. "name": "DynamicInterfaceClosures",
  139. "define": "dynamic-interface-closures",
  140. "doc": "Use slow path for interface closures to save space.",
  141. "platforms": ["cpp"]
  142. },
  143. {
  144. "name": "EraseGenerics",
  145. "define": "erase-generics",
  146. "doc": "Erase generic classes on C#.",
  147. "platforms": ["cs"]
  148. },
  149. {
  150. "name": "EvalCallStackDepth",
  151. "define": "eval-call-stack-depth",
  152. "doc": "Set maximum call stack depth for eval. (default: 1000)",
  153. "platforms": ["eval"],
  154. "params": ["depth"]
  155. },
  156. {
  157. "name": "EvalDebugger",
  158. "define": "eval-debugger",
  159. "doc": "Support debugger in macro/interp mode. Allows `host:port` value to open a socket. Implies eval-stack.",
  160. "platforms": ["eval"]
  161. },
  162. {
  163. "name": "EvalPrintDepth",
  164. "define": "eval-print-depth",
  165. "doc": "Set maximum print depth (before replacing with '<...>') for eval. (default: 5)",
  166. "platforms": ["eval"],
  167. "params": ["depth"]
  168. },
  169. {
  170. "name": "EvalPrettyPrint",
  171. "define": "eval-pretty-print",
  172. "doc": "Enable indented output for eval printing.",
  173. "platforms": ["eval"]
  174. },
  175. {
  176. "name": "EvalStack",
  177. "define": "eval-stack",
  178. "doc": "Record stack information in macro/interp mode.",
  179. "platforms": ["eval"]
  180. },
  181. {
  182. "name": "EvalTimes",
  183. "define": "eval-times",
  184. "doc": "Record per-method execution times in macro/interp mode. Implies eval-stack.",
  185. "platforms": ["eval"]
  186. },
  187. {
  188. "name": "FilterTimes",
  189. "define": "filter-times",
  190. "doc": "Record per-filter execution times upon --times."
  191. },
  192. {
  193. "name": "FastCast",
  194. "define": "fast-cast",
  195. "doc": "Enables an experimental casts cleanup on C# and Java.",
  196. "platforms": ["cs", "java"]
  197. },
  198. {
  199. "name": "Fdb",
  200. "define": "fdb",
  201. "doc": "Enable full flash debug infos for FDB interactive debugging.",
  202. "platforms": ["flash"]
  203. },
  204. {
  205. "name": "FileExtension",
  206. "define": "file-extension",
  207. "doc": "Output filename extension for cpp source code.",
  208. "platforms": ["cpp"]
  209. },
  210. {
  211. "name": "FlashStrict",
  212. "define": "flash-strict",
  213. "doc": "More strict typing for flash target.",
  214. "platforms": ["flash"]
  215. },
  216. {
  217. "name": "FlashUseStage",
  218. "define": "flash-use-stage",
  219. "doc": "Keep the SWF library initial stage.",
  220. "platforms": ["flash"]
  221. },
  222. {
  223. "devcomment": "force-lib-check is only here as a debug facility - compiler checking allows errors to be found more easily",
  224. "name": "ForceLibCheck",
  225. "define": "force-lib-check",
  226. "doc": "Force the compiler to check `--net-lib` and `--java-lib` added classes (internal).",
  227. "platforms": ["cs", "java"]
  228. },
  229. {
  230. "name": "ForceNativeProperty",
  231. "define": "force-native-property",
  232. "doc": "Tag all properties with `:nativeProperty` metadata for 3.1 compatibility.",
  233. "platforms": ["cpp"]
  234. },
  235. {
  236. "name": "GencommonDebug",
  237. "define": "gencommon-debug",
  238. "doc": "GenCommon internal.",
  239. "platforms": ["cs", "java"]
  240. },
  241. {
  242. "name": "Haxe3Compat",
  243. "define": "haxe3compat",
  244. "doc": "Gives warnings about transition from Haxe 3.x to Haxe 4.0."
  245. },
  246. {
  247. "name": "HaxeBoot",
  248. "define": "haxe-boot",
  249. "doc": "Give the name 'haxe' to the flash boot class instead of a generated name.",
  250. "platforms": ["flash"]
  251. },
  252. {
  253. "name": "HaxeVer",
  254. "define": "haxe-ver",
  255. "doc": "The current Haxe version value as decimal number. E.g. 3.407 for 3.4.7.",
  256. "reserved": true
  257. },
  258. {
  259. "name": "Haxe",
  260. "define": "haxe",
  261. "doc": "The current Haxe version value in SemVer format.",
  262. "reserved": true
  263. },
  264. {
  265. "name": "HlVer",
  266. "define": "hl-ver",
  267. "doc": "The HashLink version to target. (default: 1.10.0)",
  268. "platforms": ["hl"],
  269. "params": ["version"]
  270. },
  271. {
  272. "name": "HxcppApiLevel",
  273. "define": "hxcpp-api-level",
  274. "doc": "Provided to allow compatibility between hxcpp versions.",
  275. "platforms": ["cpp"],
  276. "reserved": true
  277. },
  278. {
  279. "name": "HxcppGcGenerational",
  280. "define": "HXCPP-GC-GENERATIONAL",
  281. "doc": "Experimental Garbage Collector.",
  282. "platforms": ["cpp"]
  283. },
  284. {
  285. "name": "HxcppDebugger",
  286. "define": "HXCPP-DEBUGGER",
  287. "doc": "Include additional information for hxcpp-debugger.",
  288. "platforms": ["cpp"]
  289. },
  290. {
  291. "name": "HxcppSmartStings",
  292. "define": "hxcpp-smart-strings",
  293. "doc": "Use wide strings in hxcpp. (Turned on by default unless `-D disable-unicode-strings` is specified.)",
  294. "platforms": ["cpp"]
  295. },
  296. {
  297. "name": "IncludePrefix",
  298. "define": "include-prefix",
  299. "doc": "Prepend path to generated include files.",
  300. "platforms": ["cpp"]
  301. },
  302. {
  303. "name": "Interp",
  304. "define": "interp",
  305. "doc": "The code is compiled to be run with `--interp`."
  306. },
  307. {
  308. "name": "JarLegacyLoader",
  309. "define": "jar-legacy-loader",
  310. "doc": "Use the legacy loader to load .jar files on the JVM target.",
  311. "platforms": ["java"]
  312. },
  313. {
  314. "name": "JavaVer",
  315. "define": "java-ver",
  316. "doc": "Sets the Java version to be targeted.",
  317. "platforms": ["java"],
  318. "params": ["version: 5-7"]
  319. },
  320. {
  321. "name": "JsClassic",
  322. "define": "js-classic",
  323. "doc": "Don't use a function wrapper and strict mode in JS output.",
  324. "platforms": ["js"]
  325. },
  326. {
  327. "name": "JsEs",
  328. "define": "js-es",
  329. "doc": "Generate JS compliant with given ES standard version. (default: 5)",
  330. "platforms": ["js"],
  331. "params": ["version: 3 | 5 | 6"],
  332. "links": ["https://haxe.org/manual/target-javascript-es6.html"]
  333. },
  334. {
  335. "name": "JsEnumsAsArrays",
  336. "define": "js-enums-as-arrays",
  337. "doc": "Generate enum representation as array instead of as object.",
  338. "platforms": ["js"]
  339. },
  340. {
  341. "name": "JsGlobal",
  342. "define": "js_global",
  343. "doc": "Customizes the global object name.",
  344. "platforms": ["js"]
  345. },
  346. {
  347. "name": "JsUnflatten",
  348. "define": "js-unflatten",
  349. "doc": "Generate nested objects for packages and types.",
  350. "platforms": ["js"]
  351. },
  352. {
  353. "name": "JsSourceMap",
  354. "define": "js-source-map",
  355. "doc": "Generate JavaScript source map even in non-debug mode. Deprecated in favor of `-D source-map`.",
  356. "platforms": ["js"]
  357. },
  358. {
  359. "name": "SourceMap",
  360. "define": "source-map",
  361. "doc": "Generate source map for compiled files.",
  362. "platforms": ["php", "js"]
  363. },
  364. {
  365. "name": "Jvm",
  366. "define": "jvm",
  367. "doc": "Generate jvm directly.",
  368. "platforms": ["java"]
  369. },
  370. {
  371. "name": "JvmCompressionLevel",
  372. "define": "jvm.compression-level",
  373. "doc": "Set the compression level of the generated file between 0 (no compression) and 9 (highest compression). Default: 6",
  374. "platforms": ["java"]
  375. },
  376. {
  377. "name": "JvmDynamicLevel",
  378. "define": "jvm.dynamic-level",
  379. "doc": "Controls the amount of dynamic support code being generated. 0 = none, 1 = field read/write optimization (default), 2 = compile-time method closures",
  380. "platforms": ["java"]
  381. },
  382. {
  383. "name": "KeepOldOutput",
  384. "define": "keep-old-output",
  385. "doc": "Keep old source files in the output directory.",
  386. "platforms": ["cs", "java"]
  387. },
  388. {
  389. "name": "LoopUnrollMaxCost",
  390. "define": "loop-unroll-max-cost",
  391. "doc": "Maximum cost (number of expressions * iterations) before loop unrolling is canceled. (default: 250)",
  392. "params": ["cost"]
  393. },
  394. {
  395. "name": "LuaJit",
  396. "define": "lua-jit",
  397. "doc": "Enable the jit compiler for lua (version 5.2 only).",
  398. "platforms": ["lua"]
  399. },
  400. {
  401. "name": "LuaStandalone",
  402. "define": "lua-standalone",
  403. "doc": "Print uncaught error before exiting the lua script.",
  404. "platforms": ["lua"]
  405. },
  406. {
  407. "name": "LuaVanilla",
  408. "define": "lua-vanilla",
  409. "doc": "Generate code lacking compiled extern lib support (e.g. utf8).",
  410. "platforms": ["lua"]
  411. },
  412. {
  413. "name": "LuaVer",
  414. "define": "lua-ver",
  415. "doc": "The lua version to target.",
  416. "platforms": ["lua"],
  417. "params": ["version"]
  418. },
  419. {
  420. "name": "Macro",
  421. "define": "macro",
  422. "doc": "Defined when code is compiled in the macro context.",
  423. "links": ["https://haxe.org/manual/macro.html"],
  424. "reserved": true
  425. },
  426. {
  427. "name": "MacroTimes",
  428. "define": "macro-times",
  429. "doc": "Display per-macro timing when used with `--times`."
  430. },
  431. {
  432. "name": "NetVer",
  433. "define": "net-ver",
  434. "doc": "Sets the .NET version to be targeted.",
  435. "platforms": ["cs"],
  436. "params": ["version: 20-50"]
  437. },
  438. {
  439. "name": "NetcoreVer",
  440. "define": "netcore-ver",
  441. "doc": "Sets the .NET core version to be targeted",
  442. "platforms": ["cs"],
  443. "params": ["version: x.x.x"]
  444. },
  445. {
  446. "name": "NetTarget",
  447. "define": "net-target",
  448. "doc": "Sets the .NET target. `netcore` (.NET core), `xbox`, `micro` (Micro Framework), `compact` (Compact Framework) are some valid values. (default: `net`)",
  449. "platforms": ["cs"],
  450. "params": ["name"]
  451. },
  452. {
  453. "name": "NekoSource",
  454. "define": "neko-source",
  455. "doc": "Output neko source instead of bytecode.",
  456. "platforms": ["neko"]
  457. },
  458. {
  459. "name": "NekoV1",
  460. "define": "neko-v1",
  461. "doc": "Keep Neko 1.x compatibility.",
  462. "platforms": ["neko"]
  463. },
  464. {
  465. "name": "NetworkSandbox",
  466. "define": "network-sandbox",
  467. "doc": "Use local network sandbox instead of local file access one.",
  468. "platforms": ["flash"]
  469. },
  470. {
  471. "name": "NoCompilation",
  472. "define": "no-compilation",
  473. "doc": "Disable final compilation.",
  474. "platforms": ["cs", "java", "cpp", "hl"]
  475. },
  476. {
  477. "name": "NoDebug",
  478. "define": "no-debug",
  479. "doc": "Remove all debug macros from cpp output."
  480. },
  481. {
  482. "name": "NoDeprecationWarnings",
  483. "define": "no-deprecation-warnings",
  484. "doc": "Do not warn if fields annotated with `@:deprecated` are used."
  485. },
  486. {
  487. "name": "NoFlashOverride",
  488. "define": "no-flash-override",
  489. "doc": "Change overrides on some basic classes into HX suffixed methods",
  490. "platforms": ["flash"]
  491. },
  492. {
  493. "name": "NoOpt",
  494. "define": "no-opt",
  495. "doc": "Disable optimizations."
  496. },
  497. {
  498. "name": "NoInline",
  499. "define": "no-inline",
  500. "doc": "Disable inlining.",
  501. "links": ["https://haxe.org/manual/class-field-inline.html"]
  502. },
  503. {
  504. "name": "KeepInlinePositions",
  505. "define": "keep-inline-positions",
  506. "doc": "Don't substitute positions of inlined expressions with the position of the place of inlining.",
  507. "links": ["https://haxe.org/manual/class-field-inline.html"]
  508. },
  509. {
  510. "name": "NoRoot",
  511. "define": "no-root",
  512. "doc": "Generate top-level types into the `haxe.root` namespace.",
  513. "platforms": ["cs"]
  514. },
  515. {
  516. "name": "NoMacroCache",
  517. "define": "no-macro-cache",
  518. "doc": "Disable macro context caching."
  519. },
  520. {
  521. "name": "NoSwfCompress",
  522. "define": "no-swf-compress",
  523. "doc": "Disable SWF output compression.",
  524. "platforms": ["flash"]
  525. },
  526. {
  527. "name": "NoTraces",
  528. "define": "no-traces",
  529. "doc": "Disable all trace calls."
  530. },
  531. {
  532. "name": "Objc",
  533. "define": "objc",
  534. "doc": "Sets the hxcpp output to Objective-C++ classes. Must be defined for interop.",
  535. "platforms": ["cpp"]
  536. },
  537. {
  538. "name": "OldErrorFormat",
  539. "define": "old-error-format",
  540. "doc": "Use Haxe 3.x zero-based column error messages instead of new one-based format."
  541. },
  542. {
  543. "name": "PhpPrefix",
  544. "define": "php-prefix",
  545. "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.",
  546. "platforms": ["php"],
  547. "params": ["dot-separated namespace"]
  548. },
  549. {
  550. "name": "PhpLib",
  551. "define": "php-lib",
  552. "doc": "Select the name for the php lib folder.",
  553. "platforms": ["php"],
  554. "params": ["folder name"]
  555. },
  556. {
  557. "name": "PhpFront",
  558. "define": "php-front",
  559. "doc": "Select the name for the php front file. (default: `index.php`)",
  560. "platforms": ["php"],
  561. "params": ["filename"]
  562. },
  563. {
  564. "name": "PythonVersion",
  565. "define": "python-version",
  566. "doc": "The python version to target. (default: 3.3)",
  567. "platforms": ["python"],
  568. "params": ["version"]
  569. },
  570. {
  571. "name": "RealPosition",
  572. "define": "real-position",
  573. "doc": "Disables Haxe source mapping when targetting C#, removes position comments in Java and Php output.",
  574. "platforms": ["cs", "java", "php"]
  575. },
  576. {
  577. "name": "ReplaceFiles",
  578. "define": "replace-files",
  579. "doc": "GenCommon internal.",
  580. "platforms": ["cs", "java"]
  581. },
  582. {
  583. "name": "RetainUntypedMeta",
  584. "define": "retain-untyped-meta",
  585. "doc": "Prevents arbitrary expression metadata from being discarded upon typing."
  586. },
  587. {
  588. "name": "Scriptable",
  589. "define": "scriptable",
  590. "doc": "GenCPP internal.",
  591. "platforms": ["cpp"]
  592. },
  593. {
  594. "name": "ShallowExpose",
  595. "define": "shallow-expose",
  596. "doc": "Expose types to surrounding scope of Haxe generated closure without writing to window object.",
  597. "platforms": ["js"]
  598. },
  599. {
  600. "name": "SourceHeader",
  601. "define": "source-header",
  602. "doc": "Print value as comment on top of generated files, use '' value to disable."
  603. },
  604. {
  605. "name": "SourceMapContent",
  606. "define": "source-map-content",
  607. "doc": "Include the Haxe sources as part of the JS source map.",
  608. "platforms": ["js"]
  609. },
  610. {
  611. "name": "Static",
  612. "define": "static",
  613. "doc": "Defined if the current target is static.",
  614. "reserved": true
  615. },
  616. {
  617. "name": "StdEncodingUtf8",
  618. "define": "std-encoding-utf8",
  619. "doc": "Force utf8 encoding for stdin, stdout and stderr",
  620. "platforms": ["java", "cs", "python"]
  621. },
  622. {
  623. "name": "Swc",
  624. "define": "swc",
  625. "doc": "Output a SWC instead of a SWF.",
  626. "platforms": ["flash"],
  627. "reserved": true
  628. },
  629. {
  630. "name": "SwfCompressLevel",
  631. "define": "swf-compress-level",
  632. "doc": "Set the amount of compression for the SWF output.",
  633. "platforms": ["flash"],
  634. "params": ["level: 1-9"]
  635. },
  636. {
  637. "name": "SwfDebugPassword",
  638. "define": "swf-debug-password",
  639. "doc": "Set a password for debugging.",
  640. "platforms": ["flash"],
  641. "params": ["password"]
  642. },
  643. {
  644. "name": "SwfDirectBlit",
  645. "define": "swf-direct-blit",
  646. "doc": "Use hardware acceleration to blit graphics.",
  647. "platforms": ["flash"]
  648. },
  649. {
  650. "name": "SwfGpu",
  651. "define": "swf-gpu",
  652. "doc": "Use GPU compositing features when drawing graphics.",
  653. "platforms": ["flash"]
  654. },
  655. {
  656. "name": "SwfHeader",
  657. "define": "swf-header",
  658. "doc": "define SWF header (width:height:fps:color)",
  659. "platforms": ["flash"]
  660. },
  661. {
  662. "name": "SwfMetadata",
  663. "define": "swf-metadata",
  664. "doc": "Include contents of the given file as metadata in the SWF.",
  665. "platforms": ["flash"],
  666. "params": ["file"]
  667. },
  668. {
  669. "name": "SwfPreloaderFrame",
  670. "define": "swf-preloader-frame",
  671. "doc": "Insert empty first frame in SWF.",
  672. "platforms": ["flash"]
  673. },
  674. {
  675. "name": "SwfProtected",
  676. "define": "swf-protected",
  677. "doc": "Compile Haxe `private` as `protected` in the SWF instead of `public`.",
  678. "platforms": ["flash"]
  679. },
  680. {
  681. "name": "SwfScriptTimeout",
  682. "define": "swf-script-timeout",
  683. "doc": "Maximum ActionScript processing time before script stuck dialog box displays.",
  684. "platforms": ["flash"],
  685. "params": ["time in seconds"]
  686. },
  687. {
  688. "name": "SwfUseDoAbc",
  689. "define": "swf-use-doabc",
  690. "doc": "Use `DoAbc` SWF-tag instead of `DoAbcDefine`.",
  691. "platforms": ["flash"]
  692. },
  693. {
  694. "name": "Sys",
  695. "define": "sys",
  696. "doc": "Defined for all system platforms.",
  697. "reserved": true
  698. },
  699. {
  700. "name": "Unsafe",
  701. "define": "unsafe",
  702. "doc": "Allow unsafe code when targeting C#.",
  703. "platforms": ["cs"]
  704. },
  705. {
  706. "name": "UseNekoc",
  707. "define": "use-nekoc",
  708. "doc": "Use `nekoc` compiler instead of the internal one.",
  709. "platforms": ["neko"]
  710. },
  711. {
  712. "name": "Utf16",
  713. "define": "utf16",
  714. "doc": "Defined for all platforms that use UTF-16 string encoding with UCS-2 API.",
  715. "reserved": true
  716. },
  717. {
  718. "name": "Vcproj",
  719. "define": "vcproj",
  720. "doc": "GenCPP internal.",
  721. "platforms": ["cpp"]
  722. },
  723. {
  724. "name": "WarnVarShadowing",
  725. "define": "warn-var-shadowing",
  726. "doc": "Warn about shadowing variable declarations."
  727. },
  728. {
  729. "name": "NoTre",
  730. "define": "no-tre",
  731. "doc": "Disable tail recursion elimination."
  732. },
  733. {
  734. "name": "MessageReporting",
  735. "define": "message-reporting",
  736. "doc": "Select message reporting mode for compiler output. (default: classic)",
  737. "params": ["mode: classic | pretty | indent"]
  738. },
  739. {
  740. "name": "NoColor",
  741. "define": "no-color",
  742. "doc": "Disable ANSI color codes when using rich output."
  743. },
  744. {
  745. "name": "MessagesLogFile",
  746. "define": "messages-log-file",
  747. "doc": "Path to a text file to write messages log to, in addition to regular output."
  748. },
  749. {
  750. "name": "MessagesLogFormat",
  751. "define": "messages-log-format",
  752. "doc": "Select message reporting mode for messages log output. (default: indent)",
  753. "params": ["format: classic | pretty | indent"]
  754. }
  755. ]