Skip to content

RimeWithSquirrel

佛振 edited this page Mar 7, 2015 · 5 revisions

Build instructions for Squirrel.

Build Squirrel from Scratch

  1. You should already have installed cmake, git and Xcode with Command Line Tools.

  2. Install dependencies with Homebrew.

    brew install boost
    
  3. Checkout the code.

    git clone [email protected]:rime/squirrel.git
    # for brise & librime
    cd squirrel
    git submodule update --init
    
  4. Build dependencies.

    Build librime's dependencies:

    make -C librime -f Makefile.xcode thirdparty
    

    Note: you can also brew install all the dependent libraries instead of the above.

    Then build librime and data files that Squirrel depends on:

    make deps
    
  5. Build Squirrel.

    make
    # or:
    #make debug
    

Test it on your Mac

sudo make install
# or:
#sudo make install-debug

That's it. Thanks for reading.

Clone this wiki locally