Skip to content

Latest commit

 

History

History
67 lines (45 loc) · 815 Bytes

README-mac.md

File metadata and controls

67 lines (45 loc) · 815 Bytes

RIME for TypeDuck Development with Mac

Prerequisites

  • Xcode
  • Xcode Command Line Tools

Install cmake

brew install cmake

Checkout source code

git clone --recursive https://github.com/TypeDuck-HK/librime.git
cd librime

Install Boost

source install-boost.sh

This should set the BOOST_ROOT variable to the installation path.

Build third-party libraries

make xcode/deps

Build librime

make xcode

Or, create a debug build:

make xcode/debug

Run unit tests

make xcode/test

Or, test the debug build:

make xcode/test-debug

Try it in the console

librime comes with a REPL application which can be used to test if the library is working.

cd debug/bin
./Debug/rime_api_console