interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / meson_options.txt

141 lines · 8851 bytes Raw Blame History
1# Configuration for Git installation
2option('htmldir', type: 'string', value: '',
3 description: 'Directory to install HTML docs to. Defaults to <datadir>/doc/git-doc')
4option('perllibdir', type: 'string', value: '',
5 description: 'Directory to install perl lib to. Defaults to <datadir>/perl5')
6
7# Configuration for how Git behaves at runtime.
8option('default_pager', type: 'string', value: 'less',
9 description: 'Fall-back pager.')
10option('default_editor', type: 'string', value: 'vi',
11 description: 'Fall-back editor.')
12option('gitconfig', type: 'string',
13 description: 'Path to the global git configuration file. (default: etc/gitconfig)')
14option('gitattributes', type: 'string',
15 description: 'Path to the global git attributes file. (default: etc/gitattributes)')
16option('pager_environment', type: 'string', value: 'LESS=FRX LV=-c',
17 description: 'Environment used when spawning the pager')
18option('perl_cpan_fallback', type: 'boolean', value: true,
19 description: 'Install bundled copies of CPAN modules that serve as a fallback in case the modules are not available on the system.')
20option('runtime_prefix', type: 'boolean', value: false,
21 description: 'Resolve ancillary tooling and support files relative to the location of the runtime binary instead of hard-coding them into the binary.')
22option('sane_tool_path', type: 'array', value: [],
23 description: 'An array of paths to pick up tools from in case the normal tools are broken or lacking.')
24option('msystem', type: 'string', value: '',
25 description: 'Fall-back on Windows when MSYSTEM is not set.')
26option('mingw_prefix', type: 'string', value: '',
27 description: 'Fall-back on Windows when MINGW_PREFIX is not set.')
28
29# Build information compiled into Git and other parts like documentation.
30option('build_date', type: 'string', value: '',
31 description: 'Build date reported by our documentation.')
32option('built_from_commit', type: 'string', value: '',
33 description: 'Commit that Git was built from reported by git-version(1).')
34option('user_agent', type: 'string', value: '',
35 description: 'User agent reported to remote servers.')
36option('version', type: 'string', value: '',
37 description: 'Version string reported by git-version(1) and other tools.')
38
39# Features supported by Git.
40option('contrib', type: 'array', value: [ 'completion' ], choices: [ 'completion', 'contacts', 'subtree' ],
41 description: 'Contributed features to include.')
42option('credential_helpers', type: 'array', value: [ ], choices: [ 'libsecret', 'netrc', 'osxkeychain', 'wincred' ],
43 description: 'Contributed features to include.')
44option('curl', type: 'feature', value: 'enabled',
45 description: 'Build helpers used to access remotes with the HTTP transport.')
46option('expat', type: 'feature', value: 'enabled',
47 description: 'Build helpers used to push to remotes with the HTTP transport.')
48option('gettext', type: 'feature', value: 'auto',
49 description: 'Build translation files.')
50option('gitk', type: 'feature', value: 'auto',
51 description: 'Build the Gitk graphical repository browser. Requires Tcl/Tk.')
52option('git_gui', type: 'feature', value: 'auto',
53 description: 'Build the git-gui graphical user interface for Git. Requires Tcl/Tk.')
54option('gitweb', type: 'feature', value: 'auto',
55 description: 'Build Git web interface. Requires Perl.')
56option('iconv', type: 'feature', value: 'auto',
57 description: 'Support reencoding strings with different encodings.')
58option('pcre2', type: 'feature', value: 'auto',
59 description: 'Support Perl-compatible regular expressions in e.g. git-grep(1).')
60option('perl', type: 'feature', value: 'auto',
61 description: 'Build tools written in Perl.')
62option('python', type: 'feature', value: 'auto',
63 description: 'Build tools written in Python.')
64option('regex', type: 'feature', value: 'auto',
65 description: 'Use the system-provided regex library instead of the bundled one.')
66
67# Backends.
68option('csprng_backend', type: 'combo', value: 'auto', choices: ['auto', 'arc4random', 'arc4random_bsd', 'getrandom', 'getentropy', 'rtlgenrandom', 'openssl', 'urandom'],
69 description: 'The backend to use for generating cryptographically-secure pseudo-random numbers.')
70option('https_backend', type: 'combo', value: 'auto', choices: ['auto', 'openssl', 'CommonCrypto', 'none'],
71 description: 'The HTTPS backend to use when connecting to remotes.')
72option('sha1_backend', type: 'combo', choices: ['openssl', 'block', 'sha1dc', 'CommonCrypto'], value: 'sha1dc',
73 description: 'The backend used for hashing objects with the SHA1 object format.')
74option('sha1_unsafe_backend', type: 'combo', choices: ['openssl', 'block', 'CommonCrypto', 'none'], value: 'none',
75 description: 'The backend used for hashing data with the SHA1 object format in case no cryptographic security is needed.')
76option('sha256_backend', type: 'combo', choices: ['openssl', 'nettle', 'gcrypt', 'block'], value: 'block',
77 description: 'The backend used for hashing objects with the SHA256 object format.')
78option('zlib_backend', type: 'combo', choices: ['auto', 'zlib', 'zlib-ng'], value: 'auto',
79 description: 'The backend used for compressing objects and other data.')
80
81# Build tweaks.
82option('breaking_changes', type: 'boolean', value: false,
83 description: 'Enable upcoming breaking changes.')
84option('rust', type: 'feature', value: 'enabled',
85 description: 'Enable building with Rust.')
86option('macos_use_homebrew_gettext', type: 'boolean', value: true,
87 description: 'Use gettext from Homebrew instead of the slightly-broken system-provided one.')
88
89# gitweb configuration.
90option('gitweb_config', type: 'string', value: 'gitweb_config.perl')
91option('gitweb_config_system', type: 'string', value: '/etc/gitweb.conf')
92option('gitweb_config_common', type: 'string', value: '/etc/gitweb-common.conf')
93option('gitweb_home_link_str', type: 'string', value: 'projects')
94option('gitweb_sitename', type: 'string', value: '')
95option('gitweb_projectroot', type: 'string', value: '/pub/git')
96option('gitweb_project_maxdepth', type: 'string', value: '2007')
97option('gitweb_export_ok', type: 'string', value: '')
98option('gitweb_strict_export', type: 'string', value: '')
99option('gitweb_base_url', type: 'string', value: '')
100option('gitweb_list', type: 'string', value: '')
101option('gitweb_hometext', type: 'string', value: 'indextext.html')
102option('gitweb_css', type: 'string', value: 'static/gitweb.css')
103option('gitweb_logo', type: 'string', value: 'static/git-logo.png')
104option('gitweb_favicon', type: 'string', value: 'static/git-favicon.png')
105option('gitweb_js', type: 'string', value: 'static/gitweb.js')
106option('gitweb_site_html_head_string', type: 'string', value: '')
107option('gitweb_site_header', type: 'string', value: '')
108option('gitweb_site_footer', type: 'string', value: '')
109option('highlight_bin', type: 'string', value: 'highlight')
110
111# Documentation.
112option('docs', type: 'array', choices: ['man', 'html'], value: [],
113 description: 'Which documentation formats to build and install.')
114option('default_help_format', type: 'combo', choices: ['man', 'html', 'platform'], value: 'platform',
115 description: 'Default format used when executing git-help(1).')
116option('docs_backend', type: 'combo', choices: ['asciidoc', 'asciidoctor', 'auto'], value: 'auto',
117 description: 'Which backend to use to generate documentation.')
118option('man_base_url', type: 'string', value: '',
119 description: 'The base URL to use for relative links in manuals')
120
121# Testing.
122option('benchmarks', type: 'feature', value: 'auto',
123 description: 'Enable benchmarks. This requires Perl and GNU time.')
124option('benchmark_repo', type: 'string', value: '',
125 description: 'Repository to copy for the performance tests. Should be at least the size of the Git repository.')
126option('benchmark_large_repo', type: 'string', value: '',
127 description: 'Large repository to copy for the performance tests. Should be at least the size of the Linux repository.')
128option('benchmark_repeat_count', type: 'integer', value: 3,
129 description: 'Number of times a test should be repeated for best-of-N measurements.')
130option('coccinelle', type: 'feature', value: 'auto',
131 description: 'Provide a coccicheck target that generates a Coccinelle patch.')
132option('tests', type: 'boolean', value: true,
133 description: 'Enable building tests. This requires Perl, but is separate from the "perl" option such that you can build tests without Perl features enabled.')
134option('test_output_directory', type: 'string',
135 description: 'Path to the directory used to store test outputs')
136option('test_utf8_locale', type: 'string',
137 description: 'Name of a UTF-8 locale used for testing.')
138option('fuzzers', type: 'boolean', value: false,
139 description: 'Enable building fuzzers.')
140option('fuzzers_link_args', type: 'array', value: [],
141 description: 'Linker arguments used to link fuzzers. Use -fsanitize=fuzzer for fuzzing.')