The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

meson: add option for tracing; align messages

authored by

Moses Turner and committed by
Jakob Bornecrantz
1c99e8ed d61a695f

+37 -24
+35 -22
meson.build
··· 37 37 # 38 38 39 39 build_tracking = false 40 + build_tracing = false 40 41 41 42 v4l2_required = false 42 43 hidapi_required = false ··· 103 104 if get_option('tracking').enabled() or get_option('tracking').auto() 104 105 build_tracking = opencv.found() 105 106 endif 107 + 108 + if get_option('tracing') 109 + build_tracing = percetto.found() 110 + endif 111 + 112 + 106 113 107 114 # TODO: make these behave well when not present 108 115 x11 = dependency('x11', required: get_option('xlib')) ··· 298 305 message(' drivers: ' + ', '.join(drivers)) 299 306 300 307 if build_docs 301 - message(' docs: yes') 308 + message(' docs: yes') 302 309 else 303 - message(' docs: no') 310 + message(' docs: no') 304 311 endif 305 312 306 313 if build_tracking 307 - message(' tracking: yes') 314 + message(' tracking: yes') 315 + else 316 + message(' tracking: no') 317 + endif 318 + 319 + if build_tracing 320 + message(' tracing: yes') 308 321 else 309 - message(' tracking: no') 322 + message(' tracing: no') 310 323 endif 311 324 312 325 if get_option('steamvr_plugin') ··· 316 329 endif 317 330 318 331 if build_opengl 319 - message(' opengl: yes') 332 + message(' opengl: yes') 320 333 else 321 - message(' opengl: no') 334 + message(' opengl: no') 322 335 endif 323 336 324 337 if build_opengles 325 - message(' opengles: yes') 338 + message(' opengles: yes') 326 339 else 327 - message(' opengles: no') 340 + message(' opengles: no') 328 341 endif 329 342 330 343 if build_egl 331 - message(' egl: yes') 344 + message(' egl: yes') 332 345 else 333 - message(' egl: no') 346 + message(' egl: no') 334 347 endif 335 348 336 349 if build_xlib 337 - message(' xlib: yes') 350 + message(' xlib: yes') 338 351 else 339 - message(' xlib: no') 352 + message(' xlib: no') 340 353 endif 341 354 342 355 if build_xcb 343 - message(' xcb: yes') 356 + message(' xcb: yes') 344 357 else 345 - message(' xcb: no') 358 + message(' xcb: no') 346 359 endif 347 360 348 361 if build_wayland 349 - message(' wayland: yes') 362 + message(' wayland: yes') 350 363 else 351 - message(' wayland: no') 364 + message(' wayland: no') 352 365 endif 353 366 354 367 if build_wayland_direct ··· 358 371 endif 359 372 360 373 if not get_option('systemd').disabled() and systemd.found() 361 - message(' systemd: yes') 374 + message(' systemd: yes') 362 375 else 363 - message(' systemd: no') 376 + message(' systemd: no') 364 377 endif 365 378 366 379 if not get_option('dbus').disabled() and dbus.found() 367 - message(' dbus: yes') 380 + message(' dbus: yes') 368 381 else 369 - message(' dbus: no') 382 + message(' dbus: no') 370 383 endif 371 384 372 385 if not get_option('libbsd').disabled() and libbsd.found() 373 - message(' libbsd: yes') 386 + message(' libbsd: yes') 374 387 else 375 - message(' libbsd: no') 388 + message(' libbsd: no') 376 389 endif
+1 -1
src/xrt/auxiliary/meson.build
··· 16 16 aux_util_deps += libbsd 17 17 endif 18 18 19 - if percetto.found() 19 + if build_tracing 20 20 aux_util_deps += percetto 21 21 endif 22 22
+1 -1
src/xrt/include/xrt/meson.build
··· 119 119 have_conf.set('XRT_HAVE_WAYLAND_DIRECT', true) 120 120 endif 121 121 122 - if percetto.found() 122 + if build_tracing 123 123 have_conf.set('XRT_HAVE_PERCETTO', true) 124 124 endif 125 125