Fork Heaps on GitHub
Menu

HashLink

HashLink is a virtual machine for the Haxe programming language. By targeting HashLink you are also able to generate Native C code for your project.

Heaps is able to support both SDL and DirectX. In order to specify which you'd like to use, you simple need to include the appropriate library when compiling your project.

For DirectX

-lib hldx

For SDL

-lib hlsdl

Compile for HashLink:

To compile for HashLink use the following example.

# class paths
-cp src

# entry point
-main Main

# libraries
-lib heaps
-lib hldx
#-lib hlsdl

# output
-hl bin/game.hl