1HAXE(1)                          User Commands                         HAXE(1)
2
3
4

NAME

6       haxe - manual page for haxe 4.1.5
7

SYNOPSIS

9       haxe <target> [options] [hxml files...]
10

DESCRIPTION

12       Haxe Compiler 4.1.5 - (C)2005-2020 Haxe Foundation
13
14   Target:
15       --js <file>
16              compile code to JavaScript file
17
18       --lua <file>
19              compile code to Lua file
20
21       --swf <file>
22              compile code to Flash SWF file
23
24       --neko <file>
25              compile code to Neko Binary
26
27       --php <directory>
28              generate PHP code into target directory
29
30       --cpp <directory>
31              generate C++ code into target directory
32
33       --cppia <file>
34              generate Cppia code into target file
35
36       --cs <directory>
37              generate C# code into target directory
38
39       --java <directory>
40              generate Java code into target directory
41
42       --jvm <directory>
43              generate JVM bytecode into target file
44
45       --python <file>
46              generate Python code as target file
47
48       --hl <file>
49              compile HL code as target file
50
51       --interp
52              interpret the program using internal macro system
53
54       --run <module> [args...]
55              interpret a Haxe module with command line arguments
56
57   Compilation:
58       -p, --class-path <path>
59              add a directory to find source files
60
61       -m, --main <class>
62              select startup class
63
64       -L, --library <name[:ver]>
65              use a haxelib library
66
67       -D, --define <var[=value]>
68              define a conditional compilation flag
69
70       -r, --resource <file>[@name]
71              add a named resource file
72
73       --cmd <command>
74              run the specified command after successful compilation
75
76       --remap <package:target>
77              remap a package to another one
78
79       --macro <macro>
80              call the given macro before typing anything else
81
82       -C, --cwd <dir>
83              set current working directory
84
85       --haxelib-global
86              pass --global argument to haxelib
87
88   Optimization:
89       --dce [std|full|no]
90              set the dead code elimination mode (default std)
91
92       --no-traces
93              don't compile trace calls in the program
94
95       --no-output
96              compiles but does not generate any file
97
98       --no-inline
99              disable inlining
100
101       --no-opt
102              disable code optimizations
103
104   Debug:
105       -v, --verbose
106              turn on verbose mode
107
108       --debug
109              add debug information to the compiled code
110
111       --prompt
112              prompt on error
113
114       --times
115              measure compilation times
116
117   Batch:
118       --next separate several haxe compilations
119
120       --each append  preceding  parameters to all Haxe compilations separated
121              by --next
122
123   Services:
124       --display
125              display code tips
126
127       --xml <file>
128              generate XML types description
129
130       --json <file>
131              generate JSON types description
132
133   Compilation Server:
134       --server-listen [[host:]port]|stdio]
135              wait on the given port (or use standard i/o) for commands to run
136
137       --server-connect [host:]port]
138              connect to the given port and wait for commands to run
139
140       --connect <[host:]port>
141              connect on the given port and run commands there
142
143   Target-specific:
144       --swf-version <version>
145              change the SWF version
146
147       --swf-header <header>
148              define SWF header (width:height:fps:color)
149
150       --flash-strict
151              more type strict flash API
152
153       --swf-lib <file>
154              add the SWF library to the compiled SWF
155
156       --swf-lib-extern <file>
157              use the SWF library for type checking
158
159       --java-lib <file>
160              add an external JAR or class directory library
161
162       --java-lib-extern <file>
163              use an external JAR or class directory library for type checking
164
165       --net-lib <file>[@std]
166              add an external .NET DLL file
167
168       --net-std <file>
169              add a root std .NET DLL search path
170
171       --c-arg <arg>
172              pass option <arg> to the native Java/C# compiler
173
174   Miscellaneous:
175       --version
176              print version and exit
177
178       -h, --help
179              show extended help information
180
181       --help-defines
182              print help for all compiler specific defines
183
184       --help-metas
185              print help for all compiler metadatas
186
187
188
189haxe 4.1.5                       January 2021                          HAXE(1)
Impressum