8 ``genconfig`` is a helper script for coming up with a ``duk_config.h`` for
9 compiling Duktape for your platform.
13 * It creates a Duktape 1.2.x compatible ``duk_config.h`` with automatic
14 platform detection and ``DUK_OPT_xxx`` feature options.
16 * It helps to create a ``duk_config.h`` for your platform/compiler
17 combination. You can give a base configuration and then force certain
18 values manually based on a YAML configuration file.
20 * It autogenerates documentation for config options (and Duktape 1.2.x
21 feature options) based on option metadata files written in YAML.
26 To create an autodetect duk_config.h header (compatible with Duktape 1.2.x)::
28 $ python config/genconfig.py --metadata config --output /tmp/duk_config.h \
31 To create a barebones duk_config.h header for a specific platform (easier to
34 $ python config/genconfig.py --metadata config --output /tmp/duk_config.h \
35 --platform linux --compiler gcc --architecture x64 \
38 There are further commands to e.g. autogenerate config option documentation;
39 see ``genconfig.py`` for details.