aboutsummaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authordada513 <dada513@protonmail.com>2022-01-27 19:01:20 +0100
committerdada513 <dada513@protonmail.com>2022-01-27 19:01:20 +0100
commit14a8ead6b4f290be37c9fd3df14e34bcf37805fd (patch)
tree234a7187dc46c3a19641c23458623907cbdb72f5 /BUILD.md
parentbbf0508846eac32612ff22717769a6e15e8d376a (diff)
parent79314ee67b0e7220d91d06908fd1370e8d9d6d57 (diff)
downloadPrismLauncher-14a8ead6b4f290be37c9fd3df14e34bcf37805fd.tar.gz
PrismLauncher-14a8ead6b4f290be37c9fd3df14e34bcf37805fd.tar.bz2
PrismLauncher-14a8ead6b4f290be37c9fd3df14e34bcf37805fd.zip
fix conflict
Diffstat (limited to 'BUILD.md')
-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