Skip to content

Installation

Dimitri Pomier edited this page Jun 26, 2021 · 8 revisions

To use ecso in your project, run haxelib install ecso and add --library ecso to your compilation flags.

You can also install ecso from the nightly builds or from source by following the steps below.

Nightly builds

You can access the CI builds to install both Haxe and Ecso. Browse the list of runs, and pick up any build to see the available artifacts and download ecso. Then run haxelib install ecso.zip.

Building from source

1. Setup Haxe for development

Please follow these instructions.

2. Get ecso sources

$ cd path/to/dev/haxe
$ git clone https://github.com/EcsoKit/ecso.git plugins/ecso
$ haxelib dev ecso plugins/ecso

3. Build Haxe and ecso

Execute the following command from path/to/dev/haxe:

# On Unix
$ make PLUGIN=ecso plugin

# On Windows
$ make -f Makefile.win PLUGIN=ecso plugin && bash plugins/ecso/extra/arch.sh

This will build for your current OS only.

You can run this build command every time you edit ecso's sources.

4. Use ecso in your project

Add -L ecso to your compilation flags.

Clone this wiki locally