2022-12-24 16:59:24 +00:00
|
|
|
vkroots_dep = dependency('vkroots')
|
|
|
|
dep_xcb = dependency('xcb')
|
|
|
|
dep_x11_xcb = dependency('x11-xcb')
|
2023-03-28 22:00:35 +00:00
|
|
|
glm_dep = dependency('glm')
|
2022-12-24 16:59:24 +00:00
|
|
|
wayland_client = dependency('wayland-client')
|
2022-12-02 18:18:36 +00:00
|
|
|
|
2023-09-20 01:14:00 +00:00
|
|
|
gamescope_wsi_layer = shared_library('VkLayer_FROG_gamescope_wsi_' + build_machine.cpu_family(), 'VkLayer_FROG_gamescope_wsi.cpp', protocols_client_src,
|
2023-03-28 22:00:35 +00:00
|
|
|
dependencies : [ vkroots_dep, dep_xcb, dep_x11, dep_x11_xcb, glm_dep, wayland_client ],
|
2022-12-02 18:18:36 +00:00
|
|
|
install : true )
|
|
|
|
|
2022-12-24 17:20:40 +00:00
|
|
|
out_lib_dir = join_paths(prefix, lib_dir)
|
|
|
|
|
|
|
|
configure_file(
|
|
|
|
input : 'VkLayer_FROG_gamescope_wsi.json.in',
|
|
|
|
output : 'VkLayer_FROG_gamescope_wsi.' + build_machine.cpu_family() + '.json',
|
|
|
|
configuration : {'family' : build_machine.cpu_family(), 'lib_dir' : out_lib_dir },
|
|
|
|
install : true,
|
|
|
|
install_dir : join_paths(data_dir, 'vulkan', 'implicit_layer.d'),
|
|
|
|
)
|