mirror of
https://github.com/janet-lang/janet
synced 2025-07-24 21:02:54 +00:00

This is to better allow configuration on various, unknown compilers. Previously, we hardcoded how thread local storage was specified for a few different compilers, but we were not following and C standard. In C11, there is a standardized storage specifier _Thread_local for this storage class, however this is now deprecated in various C++ compilers for a new keyword, confusingly. Janet also does not claim to require the C11 standard, so for maximum flexibilty, the storage specifier must be specified at configure time.
37 lines
1.8 KiB
Meson
37 lines
1.8 KiB
Meson
option('git_hash', type : 'string', value : 'meson')
|
|
|
|
option('single_threaded', type : 'boolean', value : false)
|
|
option('nanbox', type : 'boolean', value : true)
|
|
option('dynamic_modules', type : 'boolean', value : true)
|
|
option('docstrings', type : 'boolean', value : true)
|
|
option('sourcemaps', type : 'boolean', value : true)
|
|
option('reduced_os', type : 'boolean', value : false)
|
|
option('assembler', type : 'boolean', value : true)
|
|
option('peg', type : 'boolean', value : true)
|
|
option('int_types', type : 'boolean', value : true)
|
|
option('prf', type : 'boolean', value : false)
|
|
option('net', type : 'boolean', value : true)
|
|
option('ipv6', type : 'boolean', value : true)
|
|
option('ev', type : 'boolean', value : true)
|
|
option('processes', type : 'boolean', value : true)
|
|
option('umask', type : 'boolean', value : true)
|
|
option('realpath', type : 'boolean', value : true)
|
|
option('simple_getline', type : 'boolean', value : false)
|
|
option('epoll', type : 'boolean', value : true)
|
|
option('kqueue', type : 'boolean', value : true)
|
|
option('interpreter_interrupt', type : 'boolean', value : true)
|
|
option('ffi', type : 'boolean', value : true)
|
|
option('ffi_jit', type : 'boolean', value : true)
|
|
option('filewatch', type : 'boolean', value : true)
|
|
|
|
option('recursion_guard', type : 'integer', min : 10, max : 8000, value : 1024)
|
|
option('max_proto_depth', type : 'integer', min : 10, max : 8000, value : 200)
|
|
option('max_macro_expand', type : 'integer', min : 1, max : 8000, value : 200)
|
|
option('stack_max', type : 'integer', min : 8096, max : 0x7fffffff, value : 0x7fffffff)
|
|
|
|
option('arch_name', type : 'string', value: '')
|
|
option('thread_local_prefix', type : 'string', value: '')
|
|
option('os_name', type : 'string', value: '')
|
|
option('shared', type : 'boolean', value: true)
|
|
option('cryptorand', type : 'boolean', value: true)
|