mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[build] Install headers for native builds
When building a game that has been ported to Linux using DXVK Native, these headers are necessary to provide the Direct3D and DXVK APIs. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
83436a97f2
commit
f9b4046223
19
include/native/meson.build
Normal file
19
include/native/meson.build
Normal file
@ -0,0 +1,19 @@
|
||||
install_subdir(
|
||||
'directx',
|
||||
install_dir: get_option('includedir') / 'dxvk',
|
||||
strip_directory: true,
|
||||
exclude_files: '.git'
|
||||
)
|
||||
|
||||
install_subdir(
|
||||
'windows',
|
||||
install_dir: get_option('includedir') / 'dxvk',
|
||||
strip_directory: true,
|
||||
)
|
||||
|
||||
install_headers(
|
||||
'wsi/native_wsi.h',
|
||||
'wsi/native_sdl2.h',
|
||||
'wsi/native_glfw.h',
|
||||
subdir: 'dxvk/wsi',
|
||||
)
|
@ -185,4 +185,8 @@ dxvk_version = vcs_tag(
|
||||
output: 'version.h',
|
||||
)
|
||||
|
||||
if platform != 'windows'
|
||||
subdir('include/native')
|
||||
endif
|
||||
|
||||
subdir('src')
|
||||
|
Loading…
x
Reference in New Issue
Block a user