mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-19 19:33:46 -04:00
615f4693daf5b27fa49045151b2776593877f47e
OpenHarmony resource compile tool
Description
restool(resource tool) is used in computer.In OpenHarmony SDK toolchain.When IDE pack OpenHarmony application, application resources will be compiled by restool, then the result compiling will be passed to pack tool.Support window,linux, macos platform.
Directory Structure
/developtools
|----global_resource_tool
| |----include
| |----src
| |----third_party dependence third patry lib make script
| |----CMakeLists.txt
| |----win32.cmake windows cross compile script
Instructions
Compile
- gcc/g++ version 9.3.0 required
- cmake version mini 3.15 required
- mkdir build
- cd build
- cmake ../restool_standard
- make
- compile result restool binary
Help
restool usually integrate to IDE, OpenHarmony compile system.
run ./restool, show command:
-v version
-i input resource path
-o output resource path
-r resource ID header file path
-p package name
using IDE(recommonded)
Related to the storehouse
third_party_libxml2
third_party_jsoncpp
third_party_sqlite
third_party_bounds_checking_function
Description
Languages
C++
99.4%
CMake
0.4%
Python
0.2%