]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/src/third_party/duktape-1.5.2/config/README.rst
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / prometheus-cpp / 3rdparty / civetweb / src / third_party / duktape-1.5.2 / config / README.rst
CommitLineData
1e59de90
TL
1=================
2Duktape genconfig
3=================
4
5Overview
6========
7
8``genconfig`` is a helper script for coming up with a ``duk_config.h`` for
9compiling Duktape for your platform.
10
11To support this:
12
13* It creates a Duktape 1.2.x compatible ``duk_config.h`` with automatic
14 platform detection and ``DUK_OPT_xxx`` feature options.
15
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.
19
20* It autogenerates documentation for config options (and Duktape 1.2.x
21 feature options) based on option metadata files written in YAML.
22
23Usage
24=====
25
26To create an autodetect duk_config.h header (compatible with Duktape 1.2.x)::
27
28 $ python config/genconfig.py --metadata config --output /tmp/duk_config.h \
29 autodetect-header
30
31To create a barebones duk_config.h header for a specific platform (easier to
32edit manually)::
33
34 $ python config/genconfig.py --metadata config --output /tmp/duk_config.h \
35 --platform linux --compiler gcc --architecture x64 \
36 barebones-header
37
38There are further commands to e.g. autogenerate config option documentation;
39see ``genconfig.py`` for details.