Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/meson_options.txt # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / meson_options.txt` 141 lines ยท 8851 bytes Raw Blame History 1 # Configuration for Git installation 2 option('htmldir', type: 'string', value: '', 3 description: 'Directory to install HTML docs to. Defaults to /doc/git-doc') 4 option('perllibdir', type: 'string', value: '', 5 description: 'Directory to install perl lib to. Defaults to /perl5') 6 7 # Configuration for how Git behaves at runtime. 8 option('default_pager', type: 'string', value: 'less', 9 description: 'Fall-back pager.') 10 option('default_editor', type: 'string', value: 'vi', 11 description: 'Fall-back editor.') 12 option('gitconfig', type: 'string', 13 description: 'Path to the global git configuration file. (default: etc/gitconfig)') 14 option('gitattributes', type: 'string', 15 description: 'Path to the global git attributes file. (default: etc/gitattributes)') 16 option('pager_environment', type: 'string', value: 'LESS=FRX LV=-c', 17 description: 'Environment used when spawning the pager') 18 option('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.') 20 option('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.') 22 option('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.') 24 option('msystem', type: 'string', value: '', 25 description: 'Fall-back on Windows when MSYSTEM is not set.') 26 option('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. 30 option('build_date', type: 'string', value: '', 31 description: 'Build date reported by our documentation.') 32 option('built_from_commit', type: 'string', value: '', 33 description: 'Commit that Git was built from reported by git-version(1).') 34 option('user_agent', type: 'string', value: '', 35 description: 'User agent reported to remote servers.') 36 option('version', type: 'string', value: '', 37 description: 'Version string reported by git-version(1) and other tools.') 38 39 # Features supported by Git. 40 option('contrib', type: 'array', value: [ 'completion' ], choices: [ 'completion', 'contacts', 'subtree' ], 41 description: 'Contributed features to include.') 42 option('credential_helpers', type: 'array', value: [ ], choices: [ 'libsecret', 'netrc', 'osxkeychain', 'wincred' ], 43 description: 'Contributed features to include.') 44 option('curl', type: 'feature', value: 'enabled', 45 description: 'Build helpers used to access remotes with the HTTP transport.') 46 option('expat', type: 'feature', value: 'enabled', 47 description: 'Build helpers used to push to remotes with the HTTP transport.') 48 option('gettext', type: 'feature', value: 'auto', 49 description: 'Build translation files.') 50 option('gitk', type: 'feature', value: 'auto', 51 description: 'Build the Gitk graphical repository browser. Requires Tcl/Tk.') 52 option('git_gui', type: 'feature', value: 'auto', 53 description: 'Build the git-gui graphical user interface for Git. Requires Tcl/Tk.') 54 option('gitweb', type: 'feature', value: 'auto', 55 description: 'Build Git web interface. Requires Perl.') 56 option('iconv', type: 'feature', value: 'auto', 57 description: 'Support reencoding strings with different encodings.') 58 option('pcre2', type: 'feature', value: 'auto', 59 description: 'Support Perl-compatible regular expressions in e.g. git-grep(1).') 60 option('perl', type: 'feature', value: 'auto', 61 description: 'Build tools written in Perl.') 62 option('python', type: 'feature', value: 'auto', 63 description: 'Build tools written in Python.') 64 option('regex', type: 'feature', value: 'auto', 65 description: 'Use the system-provided regex library instead of the bundled one.') 66 67 # Backends. 68 option('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.') 70 option('https_backend', type: 'combo', value: 'auto', choices: ['auto', 'openssl', 'CommonCrypto', 'none'], 71 description: 'The HTTPS backend to use when connecting to remotes.') 72 option('sha1_backend', type: 'combo', choices: ['openssl', 'block', 'sha1dc', 'CommonCrypto'], value: 'sha1dc', 73 description: 'The backend used for hashing objects with the SHA1 object format.') 74 option('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.') 76 option('sha256_backend', type: 'combo', choices: ['openssl', 'nettle', 'gcrypt', 'block'], value: 'block', 77 description: 'The backend used for hashing objects with the SHA256 object format.') 78 option('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. 82 option('breaking_changes', type: 'boolean', value: false, 83 description: 'Enable upcoming breaking changes.') 84 option('rust', type: 'feature', value: 'enabled', 85 description: 'Enable building with Rust.') 86 option('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. 90 option('gitweb_config', type: 'string', value: 'gitweb_config.perl') 91 option('gitweb_config_system', type: 'string', value: '/etc/gitweb.conf') 92 option('gitweb_config_common', type: 'string', value: '/etc/gitweb-common.conf') 93 option('gitweb_home_link_str', type: 'string', value: 'projects') 94 option('gitweb_sitename', type: 'string', value: '') 95 option('gitweb_projectroot', type: 'string', value: '/pub/git') 96 option('gitweb_project_maxdepth', type: 'string', value: '2007') 97 option('gitweb_export_ok', type: 'string', value: '') 98 option('gitweb_strict_export', type: 'string', value: '') 99 option('gitweb_base_url', type: 'string', value: '') 100 option('gitweb_list', type: 'string', value: '') 101 option('gitweb_hometext', type: 'string', value: 'indextext.html') 102 option('gitweb_css', type: 'string', value: 'static/gitweb.css') 103 option('gitweb_logo', type: 'string', value: 'static/git-logo.png') 104 option('gitweb_favicon', type: 'string', value: 'static/git-favicon.png') 105 option('gitweb_js', type: 'string', value: 'static/gitweb.js') 106 option('gitweb_site_html_head_string', type: 'string', value: '') 107 option('gitweb_site_header', type: 'string', value: '') 108 option('gitweb_site_footer', type: 'string', value: '') 109 option('highlight_bin', type: 'string', value: 'highlight') 110 111 # Documentation. 112 option('docs', type: 'array', choices: ['man', 'html'], value: [], 113 description: 'Which documentation formats to build and install.') 114 option('default_help_format', type: 'combo', choices: ['man', 'html', 'platform'], value: 'platform', 115 description: 'Default format used when executing git-help(1).') 116 option('docs_backend', type: 'combo', choices: ['asciidoc', 'asciidoctor', 'auto'], value: 'auto', 117 description: 'Which backend to use to generate documentation.') 118 option('man_base_url', type: 'string', value: '', 119 description: 'The base URL to use for relative links in manuals') 120 121 # Testing. 122 option('benchmarks', type: 'feature', value: 'auto', 123 description: 'Enable benchmarks. This requires Perl and GNU time.') 124 option('benchmark_repo', type: 'string', value: '', 125 description: 'Repository to copy for the performance tests. Should be at least the size of the Git repository.') 126 option('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.') 128 option('benchmark_repeat_count', type: 'integer', value: 3, 129 description: 'Number of times a test should be repeated for best-of-N measurements.') 130 option('coccinelle', type: 'feature', value: 'auto', 131 description: 'Provide a coccicheck target that generates a Coccinelle patch.') 132 option('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.') 134 option('test_output_directory', type: 'string', 135 description: 'Path to the directory used to store test outputs') 136 option('test_utf8_locale', type: 'string', 137 description: 'Name of a UTF-8 locale used for testing.') 138 option('fuzzers', type: 'boolean', value: false, 139 description: 'Enable building fuzzers.') 140 option('fuzzers_link_args', type: 'array', value: [], 141 description: 'Linker arguments used to link fuzzers. Use -fsanitize=fuzzer for fuzzing.')