mirror of https://github.com/WerWolv/ImHex
git: Updated compile instructions
This commit is contained in:
parent
dd62bee264
commit
c412ba66d8
|
|
@ -13,14 +13,8 @@ CC=gcc-12 CXX=g++-12 \
|
||||||
cmake -G "Ninja" \
|
cmake -G "Ninja" \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX="/usr" \
|
-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
|
All paths follow the XDG Base Directories standard, and can thus be modified
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ OBJC=$(brew --prefix llvm)/bin/clang \
|
||||||
OBJCXX=$(brew --prefix llvm)/bin/clang++ \
|
OBJCXX=$(brew --prefix llvm)/bin/clang++ \
|
||||||
cmake -G "Ninja" \
|
cmake -G "Ninja" \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX=./install \
|
-DCMAKE_INSTALL_PREFIX="./install" \
|
||||||
-DIMHEX_GENERATE_PACKAGE=ON \
|
-DIMHEX_GENERATE_PACKAGE=ON \
|
||||||
..
|
..
|
||||||
ninja install
|
ninja install
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -G "Ninja" \
|
cmake -G "Ninja" \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX="$PWD/install" \
|
-DCMAKE_INSTALL_PREFIX="./install" \
|
||||||
-DIMHEX_USE_DEFAULT_BUILD_SETTINGS=ON \
|
-DIMHEX_USE_DEFAULT_BUILD_SETTINGS=ON \
|
||||||
..
|
..
|
||||||
ninja install
|
ninja install
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue