Instructions to build Squirrel - the Rime frontend for macOS
If you haven't already got the Xcode toolchain, install Xcode Command Line Tools:
xcode-select --install
Install dependencies with Homebrew:
Optional: set the USTC mirror to speed up the brew install
process in mainland China.
# dev tools:
brew install cmake
brew install git
# libraries:
brew install boost
You can also install them with MacPorts:
port install cmake git
port install boost -no_static
If you've built Boost manually instead of installing it with Homebrew or MacPorts, please set
BOOST_ROOT
to its top level directory in the terminal.
git clone --recursive https://github.com/rime/squirrel.git
Build librime, dependent third-party libraries and data files:
make deps
make
Once built, you can install and try it live:
sudo make install
That's it. Thanks for riming with Squirrel.