-
Notifications
You must be signed in to change notification settings - Fork 3
Develop
Qiuzhizhe edited this page Mar 8, 2024
·
7 revisions
依赖本插件开发新维度,我建议使用xmake来构建项目
在你的项目里添加以下内容来导入本插件
add_requires("moredimension")
以上默认导入的是最新版本,如果你需要导入某一版本:
add_requires("moredimension x.x.x")
其中x.x.x为版本号,然后在你需要使用的文件导入
#include more_dimensions/api/dimension/CustomDimensionManager.h
即可
请在Code页面,绿色按钮下拉菜单Download ZIP下载本项目,然后放在你的cmake项目某个位置中,导入
#include src/more_dimensions/api/dimension/CustomDimensionManager.h // 根据你放的位置与cmake配置更改
头文件即可
请在src/test文件夹内查看