Skip to content

rcoley93/hxcpp

 
 

Repository files navigation

hxcpp

TravisCI Build Status AppVeyor Build Status

hxcpp is the runtime support for the c++ backend of the haxe compiler. This contains the headers, libraries and support code required to generate a fully compiled executable from haxe code.

building

Build the tools.

cd tools/hxcpp
haxe compile.hxml
cd ../build
haxe compile.hxml

Running neko on the build.n script will rebuild the supported architectures on your current platform.

cd project
neko build.n clean
neko build.n

In the same folder, you can cross build to other platforms using the run.n with the said platform name.

For example :

neko build.n android

You can save time if you know that you are only going to use, say, the dynamic libraries (ndlls) on a particular architecture on a particular platform.

neko build.n ndll-android-armv5

You can enable debugging in the standard runtime libraries using the debug flag, eg:

neko build.n windows -debug

which may help with native debugging. Don't forget to rebuild without debugging for release.

For experts, you can configure the compilation scripts that will be used for executables and library production in the 'toolchain' folder.

About

Runtime files for c++ backend for haxe

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 77.7%
  • C++ 21.2%
  • Haxe 0.6%
  • Smarty 0.2%
  • Objective-C 0.2%
  • PHP 0.1%