-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
36 lines (31 loc) · 770 Bytes
/
Copy pathmeson.build
File metadata and controls
36 lines (31 loc) · 770 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
project(
'pcstubgen',
['cpp', 'c'],
version : '1.0.0',
default_options : ['cpp_std=c++17'],
)
py = import('python').find_installation(pure : false)
llvm_dep = dependency(
'llvm',
version : '>=18',
modules : ['object', 'debuginfodwarf', 'support'],
required : true,
)
py.extension_module(
'_dwarfdump',
['pcstubgen/native/dwarfdump_module.cpp'],
dependencies : [llvm_dep],
subdir : 'pcstubgen/signature_completion/c_extension',
install : true,
)
py.extension_module(
'_pybind11_runtime',
['pcstubgen/native/pybind11_runtime_module.cpp'],
subdir : 'pcstubgen/signature_completion/pybind11',
install : true,
)
install_subdir(
'pcstubgen',
install_dir : py.get_install_dir(pure : false),
exclude_directories : ['__pycache__'],
)