Magpie/docs/Compilation guide.md
Xu ae9895a488
迁移到 Conan v2 (#731)
* chore: 迁移到 Conan v2

* docs: 更新文档

* chore: 更新 Conan 缓存路径

* chore: 所有 Conan 依赖都是最新的则显示消息
2023-10-15 10:33:06 +08:00

970 B

Prerequisites

In order to compile Magpie, you need to first install:

  1. The latest version of Visual Studio 2022. You need to install both "Desktop development with C++" and "Universal Windows Platform development" workloads and Windows SDK build 22621 or newer.

  2. CMake

    You can also use the built-in CMake of Visual Studio, which is located at %ProgramFiles%\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin.

  3. Python 3.6+

  4. Conan v1

    pip install conan
    

    Make sure that the above dependencies have been added to the system path, and use the following commands to check:

    cmake --version
    python --version
    conan --version
    

Compile

  1. Clone the repo

    git clone https://github.com/Blinue/Magpie
    
  2. Open the Magpie.sln in the root directory and build the solution.