mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-26 17:15:38 +00:00
Meson script improvements
This commit is contained in:
parent
25f8f8262d
commit
d0b1e63e33
@ -65,6 +65,7 @@ IF "%BUILD%"=="project" GOTO BUILDPROJECT
|
||||
|
||||
rem Creating build directory with correct parameters
|
||||
IF EXIST %BUILDDIR% GOTO BUILD
|
||||
ECHO [ R2 MESON GENERATING PROJECT ]
|
||||
python meson.py --prefix=%CD% %BUILDDIR% %RELEASE% %DEFAULT_LIBRARY% --backend %BACKEND%
|
||||
|
||||
:BUILD
|
||||
|
@ -49,7 +49,7 @@ def handle_folder(folder):
|
||||
|
||||
def main():
|
||||
# Create sdb binary
|
||||
r = os.system('{meson} {sdbdir} {builddir}'.format(meson=MESON, sdbdir=SDBDIR, builddir=BUILDDIR))
|
||||
r = os.system('{meson} --prefix=%CD% {sdbdir} {builddir}'.format(meson=MESON, sdbdir=SDBDIR, builddir=BUILDDIR))
|
||||
if r: exit(r)
|
||||
r = os.system('{ninja} -C {builddir}'.format(ninja=NINJA, builddir=BUILDDIR))
|
||||
if r: exit(r)
|
||||
|
Loading…
x
Reference in New Issue
Block a user