-
Notifications
You must be signed in to change notification settings - Fork 6
/
meson_options.txt
24 lines (20 loc) · 2.05 KB
/
meson_options.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- mode: meson -*-
# TAWD Meson Build Options
# Options for various paths in ServerConfig.txt and LogConfig.txt
option('cfg_LogPath', type: 'string', value: '', description: 'Path for logs. Defaults to localstatedir/log/tawd.')
option('cfg_VariableDataPath', type: 'string', value: '', description: 'Path for variable data. Defaults to localstatedir/lib/tawd/Variable.')
option('cfg_StaticDataPath', type: 'string', value: '', description: 'Path for static data. Defaults to prefix/share/tawd/Static.')
option('cfg_HTTPCARFolder', type: 'string', value: '', description: 'Path for CAR resources. Defaults to prefix/share/tawd/Release.')
option('cfg_WebPath', type: 'string', value: '', description: 'Path for web resource. Defaults to webdir.')
option('cfg_TmpDir', type: 'string', value: '/tmp', description: 'Path to temporary data. Defaults to /tmp')
# Build paths
option('localconfigdir', type: 'string', value: 'Local', description: 'Default path to local configuration files (default to Local).')
option('docdir', type: 'string', value: '', description: 'Path for documentations. Defaults to prefix/share/doc/tawd.')
option('webdir', type: 'string', value: '', description: 'Path for web resource. Defaults to prefix/share/tawd/Web.')
option('configdirs', type: 'string', value: '', description: 'List of directories for executables to look for configuration files (default to localconfigdir).')
option('serverdatadir', type: 'string', value: '..', description: 'Path to other server data (WebPages and asset folders, defaults to project root).')
option('systemdservicedir', type: 'string', value: '/lib/systemd/system', description: 'Location to install SystemD service files.')
# Other Config
option('sysvinit', type: 'boolean', value: false, description: 'Install SysV init script instead of SystemD service files.')
option('ssl', type: 'boolean', value: false, description: 'Build HTTP server with HTTPS support.')
option('service', type: 'boolean', value: false, description: 'Configure support for building and installing as a server (e.g. SystemD on Linux, Windows Service etc).')