meson_options.txt 2.38 KB
Newer Older
1 2 3 4
# Configuration options
option(
  'keyfile_default',
  type: 'string',
5 6
  value: 'root.keys',
  description: 'built-in path to DNSSEC trust anchors file',
7 8 9 10
)

option(
  'managed_ta',
11 12 13 14 15 16
  type: 'combo',
  choices: [
    'auto',
    'enabled',
    'disabled',
  ],
17 18
  value: 'auto',
  description: 'auto-manage DNSSEC trust anchors (RFC 5011)',
19 20
)

21 22 23 24 25 26 27
option(
  'root_hints',
  type: 'string',
  value: 'root.hints',
  description: 'built-in path to root.hints file',
)

28 29
option(
  'install_kresd_conf',
30 31 32 33 34 35
  type: 'combo',
  choices: [
    'auto',
    'enabled',
    'disabled',
  ],
36
  value: 'auto',
37 38 39
  description: 'creates kresd.conf in config directory',
)

40 41
option(
  'verbose_log',
42 43 44 45 46 47 48
  type: 'combo',
  choices: [
    'auto',
    'enabled',
    'disabled',
  ],
  value: 'auto',
49 50 51
  description: 'support verbose logging',
)

52 53 54 55
option(
  'user',
  type: 'string',
  value: 'knot-resolver',
56
  description: 'user which is used for running kresd',
57 58 59 60 61 62
)

option(
  'group',
  type: 'string',
  value: 'knot-resolver',
63
  description: 'group which is used for running kresd',
64 65
)

66
## Systemd
67
option(
68
  'systemd_files',
69 70
  type: 'combo',
  choices: [
71
    'disabled',
72 73 74
    'enabled',
    'nosocket',
  ],
75
  value: 'disabled',
76
  description: 'installs systemd-related files',
77 78 79 80
)


# Component options
81 82
option(
  'bench',
83 84 85 86 87 88
  type: 'combo',
  choices: [
    'auto',
    'enabled',
    'disabled',
  ],
89
  value: 'disabled',
90
  description: 'build benchmarks',
91 92
)

93 94
option(
  'client',
95 96 97 98 99 100
  type: 'combo',
  choices: [
    'auto',
    'enabled',
    'disabled',
  ],
101
  value: 'auto',
102
  description: 'build kresc client binary',
103 104
)

105 106 107 108 109 110 111 112 113 114 115 116
option(
  'dnstap',
  type: 'combo',
  choices: [
    'auto',
    'enabled',
    'disabled',
  ],
  value: 'auto',
  description: 'build dnstap module',
)

117 118
option(
  'doc',
119 120 121 122 123 124
  type: 'combo',
  choices: [
    'auto',
    'enabled',
    'disabled',
  ],
125
  value: 'disabled',
126
  description: 'html documentation dependencies and installation',
127 128 129
)

option(
130 131 132 133 134 135 136 137 138 139 140 141 142
  'config_tests',
  type: 'combo',
  choices: [
    'auto',
    'enabled',
    'disabled',
  ],
  value: 'auto',
  description: 'postinstall config tests',
)

option(
  'extra_tests',
143 144 145 146 147 148
  type: 'combo',
  choices: [
    'auto',
    'enabled',
    'disabled',
  ],
149
  value: 'disabled',
150
  description: 'postinstall tests with extra dependencies',
151
)
152 153 154

option(
  'unit_tests',
155 156 157 158 159 160
  type: 'combo',
  choices: [
    'auto',
    'enabled',
    'disabled',
  ],
161
  value: 'auto',
162
  description: 'cmocka unit tests',
163
)