git: Updated compile instructions

This commit is contained in:
WerWolv
2024-02-29 20:16:03 +01:00
parent dd62bee264
commit c412ba66d8
3 changed files with 3 additions and 9 deletions

View File

@@ -13,14 +13,8 @@ CC=gcc-12 CXX=g++-12 \
cmake -G "Ninja" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_C_FLAGS="-fuse-ld=lld" \
-DCMAKE_CXX_FLAGS="-fuse-ld=lld" \
-DCMAKE_OBJC_COMPILER_LAUNCHER=ccache \
-DCMAKE_OBJCXX_COMPILER_LAUNCHER=ccache \
..
make -j 4 install
ninja install
```
All paths follow the XDG Base Directories standard, and can thus be modified