2 ms·
The MacOS build on the page is quite old, and doesn't reflect recent fixes/enhancements. If you want to build it from source for MacOS the included instructions
by rahimnathwani 4mo ago
The MacOS build on the page is quite old, and doesn't reflect recent fixes/enhancements. If you want to build it from source for MacOS the included instructions won't work because Simon's 'halibut' documentation tool will be missing.
So you need to:
1) Build Halibut from source:
git clone https://git.tartarus.org/simon/halibut.git
cd halibut
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j
# binary lands at: halibut/build/halibut
2) Build the puzzles app, pointing CMake at that halibut binary. Do this in a fresh build dir (don't reuse a stale top-level CMakeCache.txt that already recorded HALIBUT-NOTFOUND):
cd /path/to/puzzles
cmake -B build-osx -DCMAKE_BUILD_TYPE=Release \
-DHALIBUT=/full/path/to/halibut/build/halibut
cmake --build build-osx -j
3) Now you have build-osx/Puzzles.app and can (optionally) build the dmg:
cd build-osx && cpack