Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsando committed Aug 11, 2014
1 parent 1a32fbf commit 436bc74
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,33 @@ hxcpp is the runtime support for the c++ backend of the [haxe](http://haxe.org/)

# rebuilding

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

```
cd project
haxelib run hxcpp build.xml clean
haxelib run hxcpp build.xml
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 run.n android
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.

0 comments on commit 436bc74

Please sign in to comment.