radare2/meson_options.txt
lzutao f18838fff5 Improve the meson scripts ##build
* meson: Update to 0.47

Use a fallback version when sys/version.py failed.

* meson: Remove redundant calls to get_option

No need to join prefix with other project directories.

* meson: Check for explicit_memset

* meson: Use install_man to install manpages

Also, let install zsh completion files.

* meson: Install shlr/www only if use_webui built option is true

* Add use_webui build option

Rationale: Debian doesn't install shlr/www by default, give them an option
to enable/disable its installation.

* meson: Ensure python3 and no hard-code version

* meson: Ensure R2_DATDIR, R2_INCDIR, R2_LIBDIR be absolute path

* meson: WWWROOT be absolute path
2018-12-06 15:17:25 +01:00

31 lines
1.6 KiB
Meson

option('static_runtime', type: 'boolean', value: false)
# For Windows
option('r2_libdir', type: 'string', value: '')
option('r2_incdir', type: 'string', value: '')
option('r2_datdir', type: 'string', value: '')
option('r2_wwwroot', type: 'string', value: '')
option('r2_sdb', type: 'string', value: '')
option('r2_zigns', type: 'string', value: '')
option('r2_themes', type: 'string', value: '')
option('r2_fortunes', type: 'string', value: '')
option('r2_flags', type: 'string', value: '')
option('r2_hud', type: 'string', value: '')
option('r2_version_commit', type: 'string', value: '')
option('r2_gittap', type: 'string', value: '')
option('r2_gittip', type: 'string', value: '')
option('checks_level', type: 'integer', value: 9999, description: 'Value between 0 and 3 to enable different level of assert (see R_CHECKS_LEVEL). By default its value depends on buildtype (2 on debug, 1 on release).')
option('capstone_in_builddir', type: 'boolean', value: false, description: 'When true, capstone is downloaded in the build directory and not in the source one')
option('use_sys_capstone', type: 'boolean', value: false)
option('use_sys_magic', type: 'boolean', value: false)
option('use_sys_zip', type: 'boolean', value: false)
option('use_sys_zlib', type: 'boolean', value: false)
option('use_sys_lz4', type: 'boolean', value: false)
option('use_sys_xxhash', type: 'boolean', value: false)
option('use_sys_openssl', type: 'boolean', value: false)
option('use_libuv', type: 'boolean', value: true)
option('debugger', type: 'boolean', value: true)
option('use_webui', type: 'boolean', value: false, description: 'install different WebUIs for radare2')