Build lib & build sample

Download:

ege use some tools to manage source and build it:

need google repo:

see: http://source.android.com/source/downloading.html#installing-repo

On all platform:

mkdir ~/.bin
PATH=~/.bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
chmod a+x ~/.bin/repo

On ubuntu

sudo apt-get install repo

On archlinux

sudo pacman -S repo

lutin (build-system):

pip install lutin --user
# optionnal dependency of lutin (manage image changing size for application release)
pip install pillow --user

dependency:

mkdir -p WORKING_DIRECTORY/framework
cd WORKING_DIRECTORY/framework
repo init -u git://github.com/atria-soft/manifest.git
repo sync -j8
cd ../..

sources:

They are already download in the repo manifest in:

cd WORKING_DIRECTORY/framework/atria-soft/ege

Build:

library:

lutin -mdebug ege

Sample:

lutin -mdebug ege-sample-double-view
lutin -mdebug ege-sample-raytracing
lutin -mdebug ege-sample-collision
lutin -mdebug ege-sample-camera-position
lutin -mdebug ege-sample-mesh-creator

Run sample:

lutin -mdebug ege-sample-double-view?run
lutin -mdebug ege-sample-raytracing?run
lutin -mdebug ege-sample-collision?run
lutin -mdebug ege-sample-camera-position?run
lutin -mdebug ege-sample-mesh-creator?run