diff options
author | dada513 <dada513@protonmail.com> | 2022-01-27 19:01:20 +0100 |
---|---|---|
committer | dada513 <dada513@protonmail.com> | 2022-01-27 19:01:20 +0100 |
commit | 14a8ead6b4f290be37c9fd3df14e34bcf37805fd (patch) | |
tree | 234a7187dc46c3a19641c23458623907cbdb72f5 /BUILD.md | |
parent | bbf0508846eac32612ff22717769a6e15e8d376a (diff) | |
parent | 79314ee67b0e7220d91d06908fd1370e8d9d6d57 (diff) | |
download | PrismLauncher-14a8ead6b4f290be37c9fd3df14e34bcf37805fd.tar.gz PrismLauncher-14a8ead6b4f290be37c9fd3df14e34bcf37805fd.tar.bz2 PrismLauncher-14a8ead6b4f290be37c9fd3df14e34bcf37805fd.zip |
fix conflict
Diffstat (limited to 'BUILD.md')
-rw-r--r-- | BUILD.md | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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 |