1 # SPDX-FileCopyrightText: Copyright (c) 2017 Dylan Baker
2 # SPDX-License-Identifier: BSD-2-Clause
4 inc_include = include_directories('.')
5 inc_waffle = include_directories('waffle-1')
7 ver = meson.project_version().split('.')
8 data = configuration_data()
9 data.set('waffle_major_version', ver[0])
10 data.set('waffle_minor_version', ver[1])
11 data.set('waffle_patch_version', ver[2])
13 waffle_config_h = configure_file(
15 input : 'waffle-1/waffle_version.h.in',
16 output : 'waffle_version.h',
21 'waffle-1/waffle_gbm.h',
22 'waffle-1/waffle_glx.h',
23 'waffle-1/waffle_surfaceless_egl.h',
24 'waffle-1/waffle_wayland.h',
25 'waffle-1/waffle_x11_egl.h',