Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 609 Bytes

File metadata and controls

40 lines (26 loc) · 609 Bytes

C++ with poetrytemplate

Python Side

首先确保安装 poetry

Install build tools

poetry install # 首先确保 Cython 安装,如果是 Windows 需要额外自行安装 VS Build Tools

Build

poetry build # 编译构建 C++ 部分
poetry install # 将 C++ 编译结果安装到 Python 代码对应位置

Run

poetry run demo

C++ Side

未在 Windows 上进行测试

Build

make # 编译构建 C++ 部分

Run

make run # 运行 C++ 部分测试代码