This file explains how to build and install EEL from source.
-
Install the dependencies. Most of these should actually be optional (build scripts need some work), but you'll want most of them for a fully functional Eelium executive anyway.
- SDL 2.0
- SDL_net 2.0
- SDL_image 2.0
- libpng (needed for PNG support in SDL_image as well!)
- Audiality 2 1.9.2 or later
- MXE (optional, for cross-compiling Windows binaries)
-
Download the source code.
- GitHub/SSH
- git clone [email protected]:olofson/eel.git
- Alternatively: GitHub/HTTPS
- git clone https://github.com/olofson/eel.git
- Archive
- GitHub/SSH
-
Configure the source tree.
- Option 1 (Un*x with bash or similar shell)
- ./configure [target]
- Currently available targets:
- release
- static
- maintainer
- debug
- mingw-release
- mingw-debug
- mingw-64-release
- mingw-64-debug
- mingw-release-static
- mingw-debug-static
- mingw-64-release-static
- mingw-64-debug-static
- all (all of the above)
- (Default if not specified: release)
- Currently available targets:
- ./configure [target]
- Option 2 (Using CMake directly)
- mkdir build
- cd build
- cmake ..
- NOTE: Building this way will NOT update src/core/builtin.c if builtin.eel is modified! This is done by the configure script.
- Option 1 (Un*x with bash or similar shell)
-
Build and install.
- ./make-all
- The resulting executables are found in "build//src/"
- Alternatively: Enter the desired build target directory.
- make
- Optional: sudo make install
- ./make-all
-
Cleaning up after building in-tree:
- ./clean-all
- Removes all build files generated by ./make-all
- ./clean-all