meson_options.txt 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. option(
  2. 'test',
  3. type : 'boolean',
  4. value : true,
  5. description : 'build tests'
  6. )
  7. option(
  8. 'run_test',
  9. type : 'boolean',
  10. value : false,
  11. description : 'run tests. running the tests requires a video output, audio processor, etc. do not use on headless machines'
  12. )
  13. option(
  14. 'assertions',
  15. type : 'combo',
  16. value : 'auto',
  17. choices : ['auto', 'disabled', 'release', 'enabled', 'paranoid'],
  18. description: 'Enable internal sanity checks'
  19. )
  20. option(
  21. 'system_iconv',
  22. type : 'feature',
  23. description: 'Use iconv() from system-installed libraries'
  24. )
  25. option(
  26. 'use_threads',
  27. type : 'feature',
  28. description : 'Enable threads support'
  29. )
  30. option(
  31. 'use_atomic',
  32. type : 'feature',
  33. description : 'Enable the Atomic subsystem'
  34. )
  35. option(
  36. 'use_audio',
  37. type : 'feature',
  38. description : 'Enable the Audio subsystem'
  39. )
  40. option(
  41. 'use_audio_alsa',
  42. type : 'feature',
  43. description : 'Enable the ALSA audio driver'
  44. )
  45. option(
  46. 'use_audio_pulseaudio',
  47. type : 'feature',
  48. description : 'Enable the PulseAudio audio driver'
  49. )
  50. option(
  51. 'use_audio_jack',
  52. type : 'feature',
  53. description : 'Enable the JACK audio driver'
  54. )
  55. option(
  56. 'use_audio_pipewire',
  57. type : 'feature',
  58. description : 'Enable the PipeWire audio driver'
  59. )
  60. option(
  61. 'use_cpuinfo',
  62. type : 'feature',
  63. description : 'Enable the CPU Info subsystem'
  64. )
  65. option(
  66. 'use_events',
  67. type : 'feature',
  68. description : 'Enable the Events subsystem'
  69. )
  70. option(
  71. 'use_file',
  72. type : 'feature',
  73. description : 'Enable the File subsystem'
  74. )
  75. option(
  76. 'use_joystick',
  77. type : 'feature',
  78. description : 'Enable the Joystick subsystem'
  79. )
  80. option(
  81. 'use_joystick_dinput',
  82. type : 'feature',
  83. description : 'Enable the DirectInput joystick driver'
  84. )
  85. option(
  86. 'use_joystick_xinput',
  87. type : 'feature',
  88. description : 'Enable the XInput joystick driver'
  89. )
  90. option(
  91. 'use_joystick_wgi',
  92. type : 'feature',
  93. description : 'Enable the Windows.Gaming.Input joystick driver'
  94. )
  95. option(
  96. 'use_joystick_virtual',
  97. type : 'feature',
  98. description : 'Enable the virtual joystick driver'
  99. )
  100. option(
  101. 'use_haptic',
  102. type : 'feature',
  103. description : 'Enable the Haptic subsystem'
  104. )
  105. option(
  106. 'use_hidapi',
  107. type : 'feature',
  108. description : 'Enable the HIDAPI subsystem'
  109. )
  110. option(
  111. 'use_sensor',
  112. type : 'feature',
  113. description : 'Enable the Sensor subsystem'
  114. )
  115. option(
  116. 'use_loadso',
  117. type : 'feature',
  118. description : 'Enable the Shared Object Loading subsystem'
  119. )
  120. option(
  121. 'use_locale',
  122. type : 'feature',
  123. description : 'Enable the Locale subsystem'
  124. )
  125. option(
  126. 'use_render',
  127. type : 'feature',
  128. description : 'Enable the Renderer subsystem'
  129. )
  130. option(
  131. 'use_timers',
  132. type : 'feature',
  133. description : 'Enable the Timers subsystem'
  134. )
  135. option(
  136. 'use_video',
  137. type : 'feature',
  138. description : 'Enable the Video subsystem'
  139. )
  140. option(
  141. 'use_video_x11',
  142. type : 'feature',
  143. description : 'Enable the X11 video driver'
  144. )
  145. option(
  146. 'use_video_wayland',
  147. type : 'feature',
  148. description : 'Enable the Wayland video driver'
  149. )
  150. option(
  151. 'use_video_wayland_libdecor',
  152. type : 'feature',
  153. description : 'Use libdecor to provide client-side decorations on Wayland'
  154. )
  155. option(
  156. 'use_video_opengl',
  157. type : 'feature',
  158. description : 'Enable OpenGL support'
  159. )
  160. option(
  161. 'use_video_openglesv2',
  162. type : 'feature',
  163. description : 'Enable OpenGL ES 2.0+ support'
  164. )
  165. option(
  166. 'use_video_vulkan',
  167. type : 'feature',
  168. description : 'Enable Vulkan support'
  169. )
  170. option(
  171. 'use_video_offscreen',
  172. type : 'feature',
  173. value : 'disabled',
  174. description : 'Enable offscreen rendering support'
  175. )
  176. option(
  177. 'use_power',
  178. type : 'feature',
  179. description : 'Enable the Power subsystem'
  180. )
  181. option(
  182. 'use_filesystem',
  183. type : 'feature',
  184. description : 'Enable the Filesystem subsystem'
  185. )
  186. option(
  187. 'use_dummies',
  188. type : 'boolean',
  189. description : 'Build dummy fallbacks of various subsystems'
  190. )
  191. option(
  192. 'prefer_dlopen',
  193. type : 'boolean',
  194. description : 'If possible, dlopen dependencies at runtime instead of linking (linux only)'
  195. )
  196. option(
  197. 'with_main',
  198. type : 'boolean',
  199. value : false,
  200. deprecated: true,
  201. description : 'automatically link against sdl2main (deprecated, link to dependency sdl2_main instead)'
  202. )