-
Notifications
You must be signed in to change notification settings - Fork 341
HashLink
Mark Knol edited this page Jul 30, 2018
·
3 revisions
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
To copmile 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