Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 1.2 KB

File metadata and controls

73 lines (54 loc) · 1.2 KB

Windows Development Guide

Using xmake

Step 1: Install Tools and Dependencies

Install Visual Studio 2022 (MSVC 14.44.35211)

  • Install workload: "Desktop development with C++"
  • Check:
    • MSVC 14.44.35211
    • Windows 10/11 SDK
    • After installation, launch VS once to initialize components

Install xmake

Recommended to install using scoop or choco.

  • scoop:

    scoop install xmake
  • chocolatey

    choco install xmake
  • Verify:

    xmake --version

Step 2: Get Source Code, Compile and Run

Choose your working directory, for example E:\TestFile:

cd E:\TestFile
git clone https://github.com/MoganLab/mogan.git
cd mogan

Configure and Build with xmake

xmake project configuration

xmake config --yes -vD -m releasedbg --plat=windows

If previous build failed, clean old cache first

xmake f -c
xmake c -a

Compile

xmake build stem

Install target

xmake install stem

Launch Mogan STEM

xmake run stem

Please format code before committing

Formatting Guide