aboutsummaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorSergio <42090377+SSUPII@users.noreply.github.com>2022-10-18 15:37:11 +0200
committerGitHub <noreply@github.com>2022-10-18 15:37:11 +0200
commit5083772c6f870cad6f55a30cad9c39aa905096d5 (patch)
tree03bbb571cbf062228972b4e7cf031c7153dfbba8 /BUILD.md
parentfd51e5df47ddd3c358f3b1375ea1910036f59ec9 (diff)
downloadPrismLauncher-5083772c6f870cad6f55a30cad9c39aa905096d5.tar.gz
PrismLauncher-5083772c6f870cad6f55a30cad9c39aa905096d5.tar.bz2
PrismLauncher-5083772c6f870cad6f55a30cad9c39aa905096d5.zip
Fixed markdown errors
Signed-off-by: Sergio <42090377+SSUPII@users.noreply.github.com>
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/BUILD.md b/BUILD.md
index 41dd80e3..bfe59f5c 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -23,20 +23,24 @@ This guide will mostly mention dependant packages by their Debian naming.
- `extra-cmake-modules`.
- zlib (`zlib1g-dev` on Debian 11 or Debian-based distributions).
- Java Development Kit (Java JDK) (`openjdk-17-jdk` on Debian 11 or Debian-based distributions).
-- Mesa GL headers (libgl1-mesa-dev on Debian 11 or Debian-based distributions).
+- Mesa GL headers (`libgl1-mesa-dev` on Debian 11 or Debian-based distributions).
- (Optional) `scdoc` to generate man pages.
<h3>Compiling</h3>
-<h4>BUilding and installing on the system</h4>
+<h4>Building and installing on the system</h4>
+
```
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" -DENABLE_LTO=ON
cmake --build build -j$(nproc)
sudo cmake --install build
```
+
<h4>Building a portable binary</h4>
+
```
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=install
cmake --build build -j$(nproc)
cmake --install build
cmake --install build --component portable
```
+