
Now both the old and the new backends are compiled in, the user can choose which one to use with a command line switch. Lower the barrier for testing. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
8 lines
178 B
Meson
8 lines
178 B
Meson
# enable xrender
|
|
srcs += [ files('backend_common.c', 'xrender.c', 'backend.c') ]
|
|
|
|
# enable opengl
|
|
if get_option('opengl')
|
|
srcs += [ files('gl/gl_common.c', 'gl/glx.c') ]
|
|
endif
|