e0b4acee12
<!-- Please provide as much information as possible about what your PR aims to do. PRs with no description will most likely be closed until more information is provided. If you're planing on changing fundamental behaviour or add big new features, please open a GitHub Issue first before starting to work on it. If it's not something big and you still want to contact us about it, feel free to do so ! --> ### Problem description Brewfile has moved from `dist/Brewfile` to `dist/macOS/Brewfile`. ### Implementation description Updated build instructions to reflect this previous change ### Screenshots N/A ### Additional things N/A
737 B
737 B
Compiling ImHex on macOS
On macOS, ImHex is built through regular GCC and LLVM clang.
- Clone the repo using
git clone https://github.com/WerWolv/ImHex --recurse-submodules
- Install all the dependencies using
brew bundle --no-lock --file dist/macOS/Brewfile
- Build ImHex itself using the following commands:
cd ImHex
mkdir -p build
cd build
CC=$(brew --prefix llvm)/bin/clang \
CXX=$(brew --prefix llvm)/bin/clang++ \
OBJC=$(brew --prefix llvm)/bin/clang \
OBJCXX=$(brew --prefix llvm)/bin/clang++ \
cmake -G "Ninja" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="./install" \
-DIMHEX_GENERATE_PACKAGE=ON \
..
ninja install