Overview
The EM Settings Generator can be found in the directory {EM}/resources/tools/settings_generator. Use it from the command line.
Basic Usage
Usually you just have to tell the Settings generator which input file it should process. The command looks something like this:
em_settings_generator settings.xmlThis will generate the classes settings.e and shared_settings.e.
Advanced Usage
There are several options you can specify:
- -o, --output
Usually, the generated class will have the same name as the input XML file. With this option, you can specify another name
Example: The commandem_settings_generator settings.xml -o example_settings
will generate the classes "example_settings.e" and "shared_example_settings.e" with the singleton "example_settings". - --no-widgets
No code concerning widgets will be generated when using this option.
- --no-singleton
The class with the singleton (usually shared_settings.e) won't be generated.
- -h, --help
Show a help message. The same message is displayed when the command is used in an invalid way.