mirror of
https://github.com/rizinorg/rz-bindgen.git
synced 2026-11-07 23:02:04 -10:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
07408414cf |
No files matched your search
+9
-2
@@ -1,4 +1,6 @@
|
||||
project('rz-bindgen', 'c', 'cpp')
|
||||
project('rz-bindgen', 'c', 'cpp',
|
||||
version: 'v0.5.0dev',
|
||||
license: 'LGPL3')
|
||||
|
||||
pymod = import('python')
|
||||
py = pymod.find_installation('python')
|
||||
@@ -39,7 +41,7 @@ if clang_args == ''
|
||||
clang = find_program('clang', 'clang-7', required: false)
|
||||
if clang.found()
|
||||
clang_args += ' -resource-dir='
|
||||
clang_args += run_command(clang, '-print-resource-dir').stdout().strip()
|
||||
clang_args += run_command(clang, '-print-resource-dir', check: true).stdout().strip()
|
||||
endif
|
||||
if build_machine.system() == 'darwin'
|
||||
clang_args += ' -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
|
||||
@@ -57,6 +59,11 @@ if target_sphinx
|
||||
bindgen_output_names += ['sphinx']
|
||||
endif
|
||||
|
||||
summary({
|
||||
'Rizin include path': rizin_include_path,
|
||||
'Clang path': clang_path,
|
||||
})
|
||||
|
||||
bindgen_outputs = custom_target(
|
||||
'bindgen_outputs',
|
||||
input: 'src' / 'main.py',
|
||||
|
||||
+1
-1
@@ -18,5 +18,5 @@ archs = ["AMD64"]
|
||||
|
||||
[project]
|
||||
name = "rz-bindings"
|
||||
version = "0.0.1"
|
||||
version = "0.5.0"
|
||||
requires-python = ">=3.8"
|
||||
Reference in new issue
Block a user