mjin-resource allows to generate built-in resources.

See Test.h for a sample. The test uses mjin-resource-sample built-in resources.

Built-in resources' generation

Data hierarchy

Built-in resource is embedded into application.

You project must conform to the following rules to provide built-in resources:

  • has single data directory
  • has only two levels of data inside it:
    • the first one (subdirectory) is treated as a group
    • the second one (files in subdirectories) is treated as a file

You can see sample data directory in mjin-resource-sample project.


cd /your/project
/path/to/mjin-resource/generate data your-project-namespace