forked from jp7677/dxvk-nvapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
31 lines (25 loc) · 747 Bytes
/
Copy pathmeson.build
File metadata and controls
31 lines (25 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
project('dxvk-nvapi',
['cpp'],
default_options: [
'cpp_std=c++17',
'warning_level=2'
],
version : 'v0.0',
meson_version : '>= 0.46')
dxvk_compiler = meson.get_compiler('cpp')
if dxvk_compiler.has_link_argument('-Wl,--file-alignment=4096')
add_global_link_arguments('-Wl,--file-alignment=4096', language: 'cpp')
endif
dxvk_cpu_family = target_machine.cpu_family()
if (dxvk_cpu_family == 'x86_64')
dll_suffix = '64'
else
dll_suffix = ''
endif
vk_headers = include_directories('./external/Vulkan-Headers/include')
lib_dxgi = dxvk_compiler.find_library('dxgi')
dxvk_nvapi_version = vcs_tag(
command: ['git', 'describe', '--always', '--tags', '--dirty=+'],
input: 'version.h.in',
output: 'version.h')
subdir('src')