diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:17:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:17:27 +0000 |
commit | f215e02bf85f68d3a6106c2a1f4f7f063f819064 (patch) | |
tree | 6bb5b92c046312c4e95ac2620b10ddf482d3fa8b /src/libs/dxvk-native-1.9.2a/src/wsi/meson.build | |
parent | Initial commit. (diff) | |
download | virtualbox-f215e02bf85f68d3a6106c2a1f4f7f063f819064.tar.xz virtualbox-f215e02bf85f68d3a6106c2a1f4f7f063f819064.zip |
Adding upstream version 7.0.14-dfsg.upstream/7.0.14-dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/libs/dxvk-native-1.9.2a/src/wsi/meson.build')
-rw-r--r-- | src/libs/dxvk-native-1.9.2a/src/wsi/meson.build | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/libs/dxvk-native-1.9.2a/src/wsi/meson.build b/src/libs/dxvk-native-1.9.2a/src/wsi/meson.build new file mode 100644 index 00000000..6ab147be --- /dev/null +++ b/src/libs/dxvk-native-1.9.2a/src/wsi/meson.build @@ -0,0 +1,32 @@ +wsi_win32_src = [ + 'win32/wsi_mode_win32.cpp', + 'win32/wsi_monitor_win32.cpp', + 'win32/wsi_presenter_win32.cpp', + 'win32/wsi_window_win32.cpp', +] + +wsi_sdl2_src = [ + 'sdl2/wsi_mode_sdl2.cpp', + 'sdl2/wsi_monitor_sdl2.cpp', + 'sdl2/wsi_presenter_sdl2.cpp', + 'sdl2/wsi_window_sdl2.cpp', +] + +if dxvk_wsi == 'win32' + wsi_src = wsi_win32_src + wsi_deps = [] +elif dxvk_wsi == 'sdl2' + wsi_src = wsi_sdl2_src + wsi_deps = [ lib_sdl2 ] +else + error('Unknown wsi') +endif + +wsi_lib = static_library('wsi', wsi_src, + dependencies : wsi_deps, + override_options : ['cpp_std='+dxvk_cpp_std], + include_directories : [ dxvk_include_path ]) + +wsi_dep = declare_dependency( + link_with : [ wsi_lib ], + include_directories : [ dxvk_include_path ]) |