Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 756 Bytes

Develop_on_macOS.md

File metadata and controls

40 lines (33 loc) · 756 Bytes

Developing on macOS

Using xmake

Step 1: Install xmake and xrepo

For Homebrew:

brew install xmake qt
brew install pkg-config

Sometimes, we need the latest xrepo:

xrepo update-repo

Sometimes we need to use the newest version xmake to build. It is a problem in xmake 2.8.3, and it should not happen in the future version of xmake.

You can use

xmake update -s dev

to update xmake version.

Step 2: Config

xmake config --yes -c --qt=/opt/homebrew/share/qt/

The Qt Dir might not be /opt/homebrew/share/qt, please adjust it if needed.

Step 3: Build

xmake build research

Step 4: Run tests

See How to test

Step 5: Launch Mogan Research

xmake run research