efl/meson_options.txt

387 lines
8.2 KiB
Meson
Raw Normal View History

option('audio',
type : 'boolean',
value : true,
description : 'Audio support in efl'
)
option('avahi',
type : 'boolean',
value : true,
description : 'Avahi (zeroconf) support in efl'
)
option('x11',
type : 'boolean',
value : true,
description : 'X11 support in efl'
)
option('fb',
type : 'boolean',
value : false,
description : 'Framebuffer (/dev/fb / fbocon) support in efl'
)
option('sdl',
type : 'boolean',
value : false,
description : 'SDL support in efl'
)
option('wl',
type : 'boolean',
value : false,
description : 'Wayland client support in efl'
)
option('buffer',
type : 'boolean',
value : false,
description : 'Generic graphics buffer API support in efl'
)
option('drm',
type : 'boolean',
value : false,
description : 'DRM/KMS advanced framebuffer/console support in efl'
)
option('cocoa',
type : 'boolean',
value : false,
description : 'Apple MacOS cocoa support in efl'
)
option('physics',
type : 'boolean',
value : false,
description : 'Physics engine (bullet) in efl'
)
option('eeze',
type : 'boolean',
value : true,
description : 'Device abstraction (udev wrapper) in efl'
)
option('opengl',
type : 'combo',
choices : ['full', 'es-egl', 'none'],
value : 'es-egl',
description : 'Type of OpenGL support in efl'
)
option('build-id',
type : 'string',
value : 'none',
description : 'The build id string for efl set as the EFL_BUILD_ID define')
option('eina-magic-debug',
type : 'boolean',
value : true,
description : 'Magic number checking of eina structures in efl'
)
option('debug-threads',
type : 'boolean',
value : false,
description : 'Thread debugging in efl'
)
option('build-examples',
type : 'boolean',
value : true,
description : 'Compile examples'
)
option('build-tests',
type : 'boolean',
value : true,
description : 'Compile tests'
)
option('crypto',
type : 'combo',
choices : ['gnutls', 'openssl'],
value : 'openssl',
description : 'Which SSL Crypto library used in efl'
)
option('glib',
type : 'boolean',
value : false,
description : 'Main loop integration for glib in efl'
)
option('g-mainloop',
type : 'boolean',
value : false,
description : 'Use glib to run the main loop in efl'
)
option('gstreamer',
type : 'boolean',
value : true,
description : 'GStreamer 1.0+ support in efl'
)
option('systemd',
type : 'boolean',
value : true,
description : 'Systemd support in efl'
)
option('pulseaudio',
type : 'boolean',
value : true,
description : 'Pulseaudio support for audio API'
)
option('network-backend',
type : 'combo',
choices : ['connman', 'none'],
value : 'none',
description : 'Connman support in efl'
)
option('xpresent',
type : 'boolean',
value : false,
description : 'X11 XPresent extension support in efl'
)
option('xinput2',
type : 'boolean',
value : true,
description : 'X11 XInput 2.0+ support in efl'
)
option('xinput22',
type : 'boolean',
value : true,
description : 'X11 XInput 2.2+ support in efl'
)
option('tslib',
type : 'boolean',
value : false,
description : 'Framebuffer (/dev/fb / fbcon) touchscreen tslib support in efl'
)
option('eject-path',
type : 'string',
value : 'detect',
description : 'Path to the eject binary, if "detect" internal eeze bins are used'
)
option('mount-path',
type : 'string',
value : 'detect',
description : 'Path to the mount binary, if "detect" internal eeze bins are used'
)
option('unmount-path',
type : 'string',
value : 'detect',
description : 'Path to the unmount binary, if "detect" internal eeze bins are used'
)
option('evas-loaders-disabler',
type : 'array',
description : 'List of modular image/vector loaders to disable in efl',
choices : ['gst', 'pdf', 'ps', 'raw', 'svg', 'rsvg', 'xcf', 'bmp', 'dds', 'eet', 'generic', 'gif', 'ico', 'jp2k', 'jpeg', 'pmaps', 'png', 'psd', 'tga', 'tgv', 'tiff', 'wbmp', 'webp', 'xpm', 'json'],
value : ['json']
)
option('ecore-imf-loaders-disabler',
type : 'array',
description : 'List of input methods to disable in efl',
choices : ['xim', 'ibus', 'scim'],
value : ['ibus']
)
option('emotion-loaders-disabler',
type : 'array',
description : 'List of video back-ends to disable in efl',
choices : ['gstreamer1', 'libvlc', 'xine'],
value : ['libvlc', 'xine']
)
option('emotion-generic-loaders-disabler',
type : 'array',
description : 'List of out-of-process generic binary video loaders to disable in efl',
choices : ['vlc'],
value : ['vlc']
)
option('harfbuzz',
type : 'boolean',
value : true,
description : 'Harfbuzz (complex text layout library) support in efl'
)
option('fribidi',
type : 'boolean',
value : true,
description : 'Fribidi (right to left text layout library) support in efl'
)
option('fontconfig',
type : 'boolean',
value : true,
description : 'Fontconfig (system font database) support in efl'
)
option('edje-sound-and-video',
type : 'boolean',
value : true,
description : 'disable sound and video for edje'
)
option('pixman',
type : 'boolean',
value : false,
description : 'Pixman software renderer support in efl'
)
option('hyphen',
type : 'boolean',
value : false,
description : 'Hyphen text layout support in efl'
)
option('embedded-lz4',
type : 'boolean',
value : true,
description : 'Use the embedded in-tree zlib r131 release instead of system zlib'
)
option('libmount',
type : 'boolean',
value : true,
description : 'Libmount support for device mounting in efl'
)
option('vnc-server',
type : 'boolean',
value : false,
description : 'VNS server support in efl for multiseat testing'
)
option('v4l2',
type : 'boolean',
value : true,
description : 'Video v4l2 support'
)
option('elua',
type : 'boolean',
value : true,
description : 'Lua launcher binary support in efl'
)
option('wl-deprecated',
type : 'boolean',
value : false,
description : 'Deprecated wayland support in efl'
)
option('drm-deprecated',
type : 'boolean',
value : false,
description : 'Deprecated DRM/KMS support in efl'
)
option('nls',
type: 'boolean',
value: true,
description: 'Localization'
)
option('bindings',
type : 'array',
choices : ['luajit', 'cxx', 'mono'],
value : ['luajit', 'cxx'],
description : 'Which auto-generated language bindings for efl to enable',
)
option('mono-beta',
type: 'boolean',
value: false,
description: 'Mono/C# @beta Eo methods enabled in the efl'
)
option('dotnet-stylecop',
type: 'string',
description: 'Dotnet StyleCop checks. Use * for all, or use comma listed: -Ddotnet-stylecop=ca1062,CA1032, sa0001, SA0002, cA2225'
)
option('dotnet-stylecop-severity',
type: 'combo',
choices: ['Warning', 'Error'],
value: 'Warning',
description: 'Dotnet StyleCop checks cause compilation errors or just warnings'
)
mono-docs: Allow embedding external examples Summary: New option added to eolian_gen: -e <dir> This specifies a directory to search for examples. If a file is found with the same name as an EFL C# class (e.g. Efl.Ui.Button.cs) or as an EFL C# method or property (e.g. Efl.IText.Text.cs, Efl.IText.SetText.cs) its full contents will be embedded in the documentation for that class or method within <example> and <code> tags. This is, in turn, is parsed by DocFX and shown in Example boxes in the generated pages. If an example file is not found, no examples are embedded for that object. If -e is not used, no examples are embedded for any object. New option added to meson: mono-examples-dir to point to the examples directory. This directory is then passed to eolian_mono through -e. Do not use it (or define it to nothing) to disable example embedding. No performance drop has been observed because of these extra tests. Right now examples can only be given for base classes, not for derived ones (i.e. Efl.IText.Text but not Efl.Ui.Button.Text). This will be addressed in a later commit. Feature Depends on D8587 Test Plan: Create an examples folder and put some files in it: ``` mkdir /tmp/examples echo 'var button = new Efl.Ui.Button();' > /tmp/examples/Efl.Ui.Button.cs echo 'button.AutoRepeatEnabled = true;' > /tmp/examples/Efl.Ui.IAutorepeat.AutorepeatEnabled.cs echo 'button.SetAutoRepeatEnabled(true);' > /tmp/examples/Efl.Ui.IAutorepeat.SetAutorepeatEnabled.cs ``` Configure meson to embed examples and build: ``` meson configure -Dmono-examples-dir=/tmp/examples ninja ``` Examine the generated efl_ui_button.eo.cs file to see embedded <example> tags, or run DocFX and bask in the glory of documentation pages with examples: ``` cd doc/docfx ./gendoc.sh ``` Reviewers: lauromoura, felipealmeida, vitor.sousa, zmike, bu5hm4n Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8592
2019-04-11 01:38:40 -07:00
option('mono-examples-dir',
type: 'string',
value: '',
description: 'Where eolian_mono will search for examples to embed into the documentation'
mono-docs: Allow embedding external examples Summary: New option added to eolian_gen: -e <dir> This specifies a directory to search for examples. If a file is found with the same name as an EFL C# class (e.g. Efl.Ui.Button.cs) or as an EFL C# method or property (e.g. Efl.IText.Text.cs, Efl.IText.SetText.cs) its full contents will be embedded in the documentation for that class or method within <example> and <code> tags. This is, in turn, is parsed by DocFX and shown in Example boxes in the generated pages. If an example file is not found, no examples are embedded for that object. If -e is not used, no examples are embedded for any object. New option added to meson: mono-examples-dir to point to the examples directory. This directory is then passed to eolian_mono through -e. Do not use it (or define it to nothing) to disable example embedding. No performance drop has been observed because of these extra tests. Right now examples can only be given for base classes, not for derived ones (i.e. Efl.IText.Text but not Efl.Ui.Button.Text). This will be addressed in a later commit. Feature Depends on D8587 Test Plan: Create an examples folder and put some files in it: ``` mkdir /tmp/examples echo 'var button = new Efl.Ui.Button();' > /tmp/examples/Efl.Ui.Button.cs echo 'button.AutoRepeatEnabled = true;' > /tmp/examples/Efl.Ui.IAutorepeat.AutorepeatEnabled.cs echo 'button.SetAutoRepeatEnabled(true);' > /tmp/examples/Efl.Ui.IAutorepeat.SetAutorepeatEnabled.cs ``` Configure meson to embed examples and build: ``` meson configure -Dmono-examples-dir=/tmp/examples ninja ``` Examine the generated efl_ui_button.eo.cs file to see embedded <example> tags, or run DocFX and bask in the glory of documentation pages with examples: ``` cd doc/docfx ./gendoc.sh ``` Reviewers: lauromoura, felipealmeida, vitor.sousa, zmike, bu5hm4n Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8592
2019-04-11 01:38:40 -07:00
)
option('dotnet',
type: 'boolean',
value: false,
description: 'Enable building C# bindings with dotnet instead of mono'
)
option('lua-interpreter',
type: 'combo',
choices: ['luajit', 'lua'],
value: 'luajit',
description: 'Which Lua back-end library to use in efl'
)
option('native-arch-optimization',
type: 'boolean',
value: true,
description: 'Enable architecture native optimizations in efl'
)
2018-11-29 04:11:57 -08:00
option('elogind',
type : 'boolean',
value : false,
description : 'elogind support in efl (subset of systemd)'
2018-11-29 04:11:57 -08:00
)
option('windows-version',
type : 'combo',
choices : ['vista', 'win7', 'win8', 'win81', 'win10'],
value : 'win7',
description : 'When on Windows, compile efl with the specified Windows version'
)
option('dictionaries-hyphen-dir',
type : 'string',
value : '/usr/share/hyphen/',
description : 'The path to the hyphen dictionaries directory'
)
option('elementary-base-dir',
type : 'string',
value : '.elementary',
description : 'The name of the directory for user supplied elementary data files like themes, config files'
)
option('install-eo-files',
type: 'boolean',
value: false,
description : 'Install any eo file'
)
option('mono-friend-assemblies',
type : 'array',
value : [],
description : 'List of friend assemblies that can access efl_mono assembly\'s internal types and members.'
)