forked from HaxeFoundation/hxcpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
language: cpp | ||
|
||
before_install: | ||
- sudo apt-get update | ||
- sudo apt-get install ocaml zlib1g-dev libgc-dev gcc-multilib g++-multilib -y | ||
- git clone https://github.com/HaxeFoundation/neko.git ~/neko && cd ~/neko && make && sudo make install && cd $TRAVIS_BUILD_DIR | ||
- git clone --recursive https://github.com/HaxeFoundation/haxe.git ~/haxe && cd ~/haxe && make && make tools && sudo make install && cd $TRAVIS_BUILD_DIR | ||
- mkdir ~/haxelib && haxelib setup ~/haxelib | ||
- haxelib dev hxcpp $TRAVIS_BUILD_DIR | ||
|
||
script: | ||
- cd build-tool | ||
- haxe Compile.hxml | ||
- cd ../runtime | ||
- haxelib run hxcpp BuildLibs.xml | ||
- haxelib run hxcpp BuildLibs.xml -DHXCPP_M64 | ||
- cd ../test/ndlls | ||
- haxe compile.hxml && ./cpp/Test | ||
- haxe compile64.hxml && ./cpp64/Test | ||
- cd ~/haxe/tests/unit | ||
- haxe compile-cpp.hxml && ./cpp/Test-debug && rm -rf cpp | ||
- haxe compile-cpp.hxml -D HXCPP_M64 && ./cpp/Test-debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# hxcpp | ||
|
||
[![Build Status](https://travis-ci.org/HaxeFoundation/hxcpp.png?branch=master)](https://travis-ci.org/HaxeFoundation/hxcpp) | ||
|
||
hxcpp is the runtime support for the c++ backend of the [haxe](http://haxe.org/) compiler. This constains the headers, libraries and support code required to generate a fully compiled executable from haxe code. |