Requirements:
- 64-bit Linux OS
- GCC 5.3 or newer
- CMake 3.5 or newer
- Python 2.7 (TODO: 3?)
To setup:
Underlined lines are about environment variables that will be needed for compiling, they should probably be added into your bashrc file for posterity as well.
- hg clone https://bitbucket.org/alchemyviewer/autobuild-alchemy
- Add autobuild to PATH:
export PATH=$PATH:`pwd`/autobuild-alchemy/bin - Set autobuild override:
export AUTOBUILD_PLATFORM_OVERRIDE=linux64 - hg clone <alchemy repo>
- cd alchemy/
- (TODO: write this script for minimal dependencies) Install dependencies (if the script does not support your distribution, manually install the libraries listed in it, as these are required to build.):
scripts/install-deps.sh - Configure:
autobuild configure -c ReleaseOS -- -DFMODSTUDIO:BOOL=ON -DRELEASE_CRASH_REPORTING:BOOL=OFF -DUNIX_DISABLE_FATAL_WARNINGS:BOOL=ON
...
- cd build-linux-x86_64/
- make -j4 #Replace 4 with the number of threads (cores) you'd like to dedicate to the build
(use `ninja` if default CMake generator is set to it and there are no Makefiles) - Read a book
To read a book:
...