-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
48 lines (33 loc) · 738 Bytes
/
meson.build
File metadata and controls
48 lines (33 loc) · 738 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
project(
'vulkan-tutorial',
'cpp',
default_options : [
'default_library=static',
'cpp_std=c++23',
'prefer_static=true'
]
)
cc = meson.get_compiler('cpp')
add_project_arguments('-O2', language : 'cpp')
if get_option('create_debug_symbols')
add_project_arguments('-g', language : 'cpp')
endif
project_sources = []
project_header_files = []
project_libraries = []
inc = [ include_directories('inc') ]
subdir('inc')
subdir('src')
vulkan_dep = dependency('vulkan')
glfw3_dep = dependency('glfw3')
binary_dependencies = [
vulkan_dep,
glfw3_dep,
]
project_bin = executable(
'tutorial',
main_src,
include_directories : inc,
dependencies : binary_dependencies,
link_with : project_libraries,
)