Compare commits

Author SHA1 Message Date
Riccardo Schirone 07408414cf build: add project license and version and summary 2022-10-09 01:15:22 +02:00
2 changed files with 10 additions and 3 deletions

No files matched your search

+9 -2
View File
@@ -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
View File
@@ -18,5 +18,5 @@ archs = ["AMD64"]
[project]
name = "rz-bindings"
version = "0.0.1"
version = "0.5.0"
requires-python = ">=3.8"