https://github.com/kode/khacpp
Fork of hxcpp with slight modifications for Kha/Kinc.
https://github.com/kode/khacpp
Last synced: about 1 year ago
JSON representation
Fork of hxcpp with slight modifications for Kha/Kinc.
- Host: GitHub
- URL: https://github.com/kode/khacpp
- Owner: Kode
- License: other
- Created: 2016-04-22T14:54:31.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T11:15:53.000Z (about 2 years ago)
- Last Synced: 2024-04-14T05:18:55.737Z (about 2 years ago)
- Language: C++
- Homepage:
- Size: 35.3 MB
- Stars: 4
- Watchers: 2
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# hxcpp
[](https://dev.azure.com/HaxeFoundation/GitHubPublic/_build/latest?definitionId=3&branchName=master)
hxcpp is the runtime support for the c++ backend of the [haxe](http://haxe.org/) compiler. This contains the headers, libraries and support code required to generate a fully compiled executable from haxe code.
# building the tools
```
REPO=$(pwd)
cd ${REPO}/tools/run
haxe compile.hxml
cd ${REPO}/tools/hxcpp
haxe compile.hxml
cd $REPO
```
# cppia
You first need to build the cppia host.
```
REPO=$(pwd)
cd ${REPO}/project
haxe compile-cppia.hxml
cd $REPO
```
Then you can do `haxelib run hxcpp file.cppia`.