https://github.com/haxefoundation/hxcpp
Runtime files for c++ backend for haxe
https://github.com/haxefoundation/hxcpp
build-tool cpp haxe
Last synced: 13 days ago
JSON representation
Runtime files for c++ backend for haxe
- Host: GitHub
- URL: https://github.com/haxefoundation/hxcpp
- Owner: HaxeFoundation
- License: other
- Created: 2013-11-24T15:31:27.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-03-29T06:28:40.000Z (25 days ago)
- Last Synced: 2025-04-03T04:11:20.958Z (20 days ago)
- Topics: build-tool, cpp, haxe
- Language: C++
- Size: 34.6 MB
- Stars: 306
- Watchers: 39
- Forks: 198
- Open Issues: 227
-
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`.