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

NAME

6       haxe - manual page for haxe 3.4.7
7

DESCRIPTION

9       Haxe Compiler 3.4.7 - (C)2005-2017 Haxe Foundation
10
11              Usage           :           haxe          -main          <class>
12              [-swf|-js|-neko|-php|-cpp|-cppia|-as3|-cs|-java|-python|-hl|-lua]
13              <output> [options] Options :
14
15       -cp <path> : add a directory to find source files
16
17       -js <file> : compile code to JavaScript file
18
19       -lua <file> : compile code to Lua file
20
21       -swf <file> : compile code to Flash SWF file
22
23       -as3 <directory> : generate AS3 code into target directory
24
25       -neko <file> : compile code to Neko Binary
26
27       -php <directory> : generate PHP code into target directory
28
29       -cpp <directory> : generate C++ code into target directory
30
31       -cppia <file> : generate Cppia code into target file
32
33       -cs <directory> : generate C# code into target directory
34
35       -java <directory> : generate Java code into target directory
36
37       -python <file> : generate Python code as target file
38
39       -hl <file> : compile HL code as target file
40
41       -xml <file> : generate XML types description
42
43       -main <class> : select startup class
44
45       -lib <library[:version]> : use a haxelib library
46
47       -D <var[=value]> : define a conditional compilation flag
48
49       -v : turn on verbose mode
50
51       -debug : add debug information to the compiled code
52
53       -dce [std|full|no] : set the dead code elimination mode (default std)
54
55       -swf-version <version> : change the SWF version
56
57       -swf-header <header> : define SWF header (width:height:fps:color)
58
59       -swf-lib <file> : add the SWF library to the compiled SWF
60
61       -swf-lib-extern <file> : use the SWF library for type checking
62
63       -java-lib <file> : add an external JAR or class directory library
64
65       -net-lib <file>[@std] : add an external .NET DLL file
66
67       -net-std <file> : add a root std .NET DLL search path
68
69       -c-arg <arg> : pass option <arg> to the native Java/C# compiler
70
71       -x <file> : shortcut for compiling and executing a neko file
72
73       -resource <file>[@name] : add a named resource file
74
75       -prompt : prompt on error
76
77       -cmd : run the specified command after successful compilation
78
79       --flash-strict : more type strict flash API
80
81       --no-traces : don't compile trace calls in the program
82
83       --gen-hx-classes : generate hx headers for all input classes
84
85       --next : separate several haxe compilations
86
87       --each : append preceding parameters to all haxe compilations separated
88              by --next
89
90       --display : display code tips
91
92       --no-output : compiles but does not generate any file
93
94       --times : measure compilation times
95
96       --no-inline : disable inlining
97
98       --no-opt : disable code optimizations
99
100       --php-front <filename> : select the name for the php front file
101
102       --php-lib <filename> : select the name for the php lib folder
103
104       --php-prefix <name> : prefix all classes with given name
105
106       --remap <package:target> : remap a package to another one
107
108       --interp : interpret the program using internal macro system
109
110       --macro
111              : call the given macro before typing anything else
112
113       --eval : evaluates argument as Haxe module code
114
115       --wait <[host:]port> : wait on the given port for commands to run)
116
117       --connect <[host:]port> : connect on the given port  and  run  commands
118              there)
119
120       --cwd <dir> : set current working directory
121
122       -version : print version and exit
123
124       --help-defines : print help for all compiler specific defines
125
126       --help-metas : print help for all compiler metadatas
127
128       -help  Display this list of options
129
130       --help Display this list of options
131
132
133
134haxe 3.4.7                         July 2019                           HAXE(1)
Impressum