aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/BUILD.md b/BUILD.md
index a200f791..37d700f5 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -94,6 +94,25 @@ rpmbuild -bb polymc.spec
The path to the rpm packages will be printed when the build is complete.
+### Building from command line
+
+You need a source folder, a build folder and an install folder.
+
+```
+# make all the folders
+mkdir ~/PolyMC && cd ~/PolyMC
+mkdir build
+mkdir install
+# clone the complete source
+git clone --recursive https://github.com/PolyMC/PolyMC.git src
+# configure the project
+cd build
+cmake -DCMAKE_INSTALL_PREFIX=../install ../src
+make -j$(nproc) install
+```
+
+The path to the rpm packages will be printed when the build is complete.
+
### Building a flatpak
You only need to clone the flatpak sources