A new frontend to the haxe compiler
An implementation of the haxe executable specified here.
The main idea is that it acts similarly to haxeshim, and still works with older versions of the compiler and haxelib.
This repository is not yet functional.
Before building, you must run haxelib install build.hxml --always
, in order to ensure you have all the correct library versions.
An executable can be built with CMake, using the CMakeLists.txt file. For example, cmake -S . -B bin
. (See cmake website for more details).
On Windows, you can uncomment -D hlgen.makefile=vs2019
in the build.hxml
, and run haxe build.hxml
to generate Visual Studio solution files which can then be built using Visual Studio.
/usr/bin/
, set an environment variable HAXEPATH
to the path where the executable is foundbin/
, run the install-haxe.cmd
script if you are on Windows or otherwise the install-haxe.sh
scriptupdate
argument, (i.e. install-haxe update
or ./install-haxe.sh update
)The haxe executable is used as the new frontend to the haxe compiler (haxec). It assumes the haxe compiler itself has been renamed to haxec (Setup takes care of this).
It is used to run compilation commands, and before passing them onto the compiler it reads lock files, resolves all -lib
flags, and finds the haxec executable to run.
Read here for more specific details
Running haxe lib-setup
can be used to configure the global repository path.
This was added because in order to remove the dependency on haxelib, the haxe executable itself should be able to set this path and manage it.
/usr/bin/
, set an environment variable HAXEPATH
to the path where the executable is foundbin/
directory