由于不需要热更新,直接扔在 D 盘即可,然后挂载到 Docker. 使用 xmake 进行项目构建,参考主页 build 即可,注意每次打开容器时执行 source ~/.xmake/profile.
source ~/.xmake/profile
std::unique_ptr - cppreference.com