-
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathmeson.build
More file actions
24 lines (20 loc) · 767 Bytes
/
meson.build
File metadata and controls
24 lines (20 loc) · 767 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
project('frida-clr', 'cpp',
version: run_command(find_program('python3'), files('tools' / 'detect-version.py'),
capture: true,
check: true).stdout().strip(),
meson_version: '>=1.1.0',
default_options: ['b_vscrt=md'],
)
host_msvc_platform = host_machine.cpu_family() == 'x86_64' ? 'x64' : 'x86'
detect_result = run_command(import('python').find_installation(), files('detect-netfx.py'), check: false)
if detect_result.returncode() != 0
error(detect_result.stderr().strip())
endif
locations = detect_result.stdout().strip().split('\n')
netfx_runtime = locations[0]
netfx_sdk = locations[1]
frida_core_dep = dependency('frida-core-1.0', default_options: [
'frida_version=' + meson.project_version(),
'compiler_backend=disabled',
])
subdir('src')