meson_options.txt 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. ## meson_options.txt for dinit
  2. ## You can set dinit's options in here:
  3. ## Please see BUILD_MESON for more information.
  4. ## General options
  5. option(
  6. 'shutdown-prefix',
  7. type : 'string',
  8. value : '',
  9. description : 'Name prefix for "shutdown", "halt" and "reboot" commands (if they are built).'
  10. )
  11. option(
  12. 'dinit-control-socket-path',
  13. type : 'string',
  14. value : '/run/dinitctl',
  15. description : 'Default full path to the control socket, for when Dinit runs as system service manager.'
  16. )
  17. option(
  18. 'unit-tests',
  19. type : 'boolean',
  20. value : false,
  21. description : 'Building Unit tests. by default its disabled.'
  22. )
  23. option(
  24. 'igr-tests',
  25. type : 'boolean',
  26. value : false,
  27. description : 'Building Integration tests. by default its disabled.'
  28. )
  29. option(
  30. 'fuzzer',
  31. type : 'boolean',
  32. value : false,
  33. description : 'Building fuzz target'
  34. )
  35. option(
  36. 'use-utmpx',
  37. type : 'feature',
  38. value : 'auto',
  39. description : 'Whether to build support for manipulating the utmp/utmpx database via the related POSIX functions.'
  40. )
  41. option(
  42. 'dinit-sbindir',
  43. type : 'string',
  44. value : '/sbin',
  45. description : 'Default full path to the dinit executables. For some reasons dinit dont follow default sbindir. see BUILD_MESON for more info.'
  46. )
  47. option(
  48. 'man-pages',
  49. type : 'boolean',
  50. value : true,
  51. description : 'Building & installing man-pages.'
  52. )
  53. ## Linux specific options
  54. option(
  55. 'support-cgroups',
  56. type : 'feature',
  57. value : 'auto',
  58. description : 'Enable Cgroups supprot.'
  59. )
  60. option(
  61. 'build-shutdown',
  62. type : 'feature',
  63. value : 'auto',
  64. description : 'Building shutdown/reboot/halt or not.'
  65. )