# global_resource_tool **Repository Path**: temporary_use_for_openharmony/global_resource_tool ## Basic Information - **Project Name**: global_resource_tool - **Description**: OpenHarmony资源编译工具,提供给IDE使用。 - **Primary Language**: C/C++ - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 32 - **Created**: 2022-05-27 - **Last Updated**: 2022-06-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # OpenHarmony资源编译工具 ## 介绍 资源编译工具属于PC端工具,在OpenHarmony SDK中toolchain目录下,提供给IDE使用,支持Windows, Linux, MacOS平台。 ## 目录 ``` /developtools |----global_resource_tool | |----include | |----src | |----test | |----build 依赖三方库编译脚本 | |----BUILD.gn | |----CMakeLists.txt | |----win32.cmake Windows交叉编译脚本 ``` ## 使用说明 ### SDK编译命令 [SDK编译命令参考](https://gitee.com/openharmony/build/blob/master/README_zh.md) ### 测试用例 PC 上运行 `python test.py ./restool ./out` ### 命令帮助 本工具由IDE和OpenHarmony编译系统集成调用。 支持的命令行参数,例如: -v 显示工具版本号 -i 资源输入目录 -o 资源输出目录 -r 资源ID头文件 -p 应用包名 `./restool -i main -o out -r out/ResourceTable.h -p ohos.demo` ## 相关仓 third_party_libxml2 third_party_jsoncpp third_party_sqlite third_party_bounds_checking_function