From b0fb2e48ac2873b8e35fcd686a47c6ea37fe918c Mon Sep 17 00:00:00 2001 From: Stiepen22 Date: Sun, 22 Sep 2013 15:32:55 +0200 Subject: [PATCH] Added Build instructions --- BUILD.md | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 BUILD.md diff --git a/BUILD.md b/BUILD.md new file mode 100644 index 000000000..c536e588d --- /dev/null +++ b/BUILD.md @@ -0,0 +1,62 @@ +## Table of Contents + +Build on... + +* [Linux](#linux) +* [Windows](#win) +* [OSX](#osx) + +## Linux + +```bash +git clone git@github.com:MultiMC/MultiMC5.git # get the code +cd MultiMC5 +``` + +now you need to install (unless already installed): + +1. Qt 5.1.1+ Development tools (http://qt-project.org/downloads) +1. cmake +1. ccmake +1. make +1. g++ + +once that is done, do these commands: + +```bash +mkdir build +cd build +ccmake .. +``` + +A GUI will pop up. press the c key. now set the build prefix. if you are in /home/username/code/MultiMC5/build then put /home/username/code/MultiMC5/build/run as build prefix. if you want you can choose whatever dir you want, but then you need to adjust the path when running it. to edit the value use the up/down keys to select it and hit return to edit it. after you are done hit return again. +Also adjust the paths to your qt install. + +Then hit c and g + +continue with the following commands: + +```bash +cmake .. +make +make translations_target # compiles localization files. you may leave this out if your language is english +make install +``` +now you compiled it (hupefully) successfully. + +to launch it: + +```bash +cd run # or whereever its stored +./MultiMC5 +``` + +Congrats. Your MMC5 should run + +## Windows + +*In work* + +## OSX + +*MMC5 is not working on OSX yet. If you get it somehow working anyways, tell us how* \ No newline at end of file