2021-02-20 13:45:20 +00:00
option ( 'cli' , type : 'feature' , value : 'auto' , description : 'Build CLI programs ("auto" means they will be built when not a subproject)' )
2023-03-07 14:39:41 +00:00
option ( 'static_runtime' , type : 'boolean' , value : false , description : 'Link all libraries statically' )
2019-09-22 08:49:54 +00:00
option ( 'local' , type : 'boolean' , value : false , description : 'Adds support for local/side-by-side installation (sets rpath if needed)' )
2020-07-05 02:53:37 +00:00
option ( 'blob' , type : 'boolean' , value : false , description : 'Compile just one binary which dispatch to the right handlers based on the name used to call it' )
2021-11-13 23:57:35 +00:00
option ( 'wasan' , type : 'boolean' , value : false , description : 'Windows-specific hack to build with asan using msvc' )
2022-09-23 19:30:31 +00:00
option ( 'threadsafety' , type : 'boolean' , value : false , description : 'Enable thread-safe checks on critical paths' )
2023-11-21 13:26:32 +00:00
option ( 'debugstuff' , type : 'boolean' , value : true , description : 'Permit and handle ^C hook signals and kept todo and debug logs' )
2018-12-06 14:17:25 +00:00
2021-02-20 13:45:20 +00:00
# Plugins
option ( 'plugins' , type : 'string' , value : '' , description : 'Comma separated list of plugin names' )
2018-12-06 14:17:25 +00:00
# For Windows
2018-04-28 08:02:55 +00:00
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 : '' )
2023-09-09 03:13:56 +00:00
option ( 'r2_platform' , type : 'string' , value : '' )
2018-05-28 21:25:48 +00:00
option ( 'r2_flags' , type : 'string' , value : '' )
2018-04-28 08:02:55 +00:00
option ( 'r2_hud' , type : 'string' , value : '' )
2018-12-06 14:17:25 +00:00
2018-05-16 06:32:26 +00:00
option ( 'r2_version_commit' , type : 'string' , value : '' )
option ( 'r2_gittap' , type : 'string' , value : '' )
option ( 'r2_gittip' , type : 'string' , value : '' )
2018-10-29 10:48:12 +00:00
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).' )
2018-08-10 08:31:17 +00:00
option ( 'capstone_in_builddir' , type : 'boolean' , value : false , description : 'When true, capstone is downloaded in the build directory and not in the source one' )
2021-06-10 11:52:29 +00:00
option ( 'want_threads' , type : 'boolean' , value : true )
2024-04-11 18:16:27 +00:00
option ( 'use_new_abi' , type : 'boolean' , value : false )
2021-06-21 15:48:00 +00:00
option ( 'want_capstone' , type : 'boolean' , value : true )
2018-07-09 14:58:38 +00:00
option ( 'use_sys_capstone' , type : 'boolean' , value : false )
2023-07-22 08:41:54 +00:00
option ( 'use_capstone_version' , type : 'combo' , choices : [ 'v3' , 'v4' , 'v5' , 'next' ] , value : 'v5' )
2018-07-09 14:58:38 +00:00
option ( 'use_sys_magic' , type : 'boolean' , value : false )
2018-07-17 21:01:40 +00:00
option ( 'use_sys_zip' , type : 'boolean' , value : false )
option ( 'use_sys_zlib' , type : 'boolean' , value : false )
option ( 'use_sys_lz4' , type : 'boolean' , value : false )
2018-08-06 13:18:50 +00:00
option ( 'use_sys_xxhash' , type : 'boolean' , value : false )
2021-02-13 03:10:24 +00:00
option ( 'use_ssl' , type : 'boolean' , value : false )
2022-12-29 15:57:00 +00:00
option ( 'use_ssl_crypto' , type : 'boolean' , value : false )
2021-08-18 01:35:01 +00:00
option ( 'use_v35' , type : 'boolean' , value : false )
2018-08-10 08:17:48 +00:00
option ( 'use_sys_openssl' , type : 'boolean' , value : false )
2021-01-26 16:51:50 +00:00
option ( 'static_sys_openssl' , type : 'boolean' , value : false )
2022-09-16 09:52:29 +00:00
option ( 'use_libuv' , type : 'boolean' , value : false )
2024-06-05 07:14:49 +00:00
option ( 'use_libsqsh' , type : 'boolean' , value : false )
2021-03-01 19:20:24 +00:00
option ( 'use_fork' , type : 'boolean' , value : true )
2022-01-31 22:54:00 +00:00
# host_machine.system() != 'windows')
option ( 'sdb_cgen' , type : 'boolean' , value : false )
2021-08-17 01:09:03 +00:00
option ( 'use_dylink' , type : 'boolean' , value : true )
2018-11-27 14:46:35 +00:00
option ( 'debugger' , type : 'boolean' , value : true )
2022-11-02 09:57:15 +00:00
option ( 'static_themes' , type : 'boolean' , value : false )
2021-08-17 01:09:03 +00:00
option ( 'want_ptrace_wrap' , type : 'boolean' , value : true )
2021-03-19 14:58:19 +00:00
option ( 'nogpl' , type : 'boolean' , value : false )
2022-05-30 14:22:08 +00:00
option ( 'use_webui' , type : 'boolean' , value : true , description : 'install different WebUIs for radare2' )
2020-06-04 10:14:15 +00:00
option ( 'enable_tests' , type : 'boolean' , value : true , description : 'Build unit tests in test/unit' )
2022-08-21 08:30:58 +00:00
option ( 'enable_libfuzzer' , type : 'boolean' , value : false , description : 'Build libFuzzer targets in test/fuzz' )
2021-08-17 00:35:52 +00:00
option ( 'enable_r2r' , type : 'boolean' , value : true , description : 'Build r2r executable for regression ' )