Skip to content
Snippets Groups Projects
Commit f258d175 authored by Campbell Barton's avatar Campbell Barton
Browse files

Correct for ninja

parent fe908d40
No related branches found
Tags
No related merge requests found
...@@ -72,7 +72,7 @@ def process_commands(data): ...@@ -72,7 +72,7 @@ def process_commands(data):
return file_args return file_args
def find_build_args_ninja(source): def find_build_args_ninja():
make_exe = "ninja" make_exe = "ninja"
process = subprocess.Popen( process = subprocess.Popen(
[make_exe, "-t", "commands"], [make_exe, "-t", "commands"],
...@@ -335,6 +335,9 @@ def main(): ...@@ -335,6 +335,9 @@ def main():
sys.stderr.write("Can't find Ninja or Makefile (%r or %r), aborting" % (build_file_ninja, build_file_make)) sys.stderr.write("Can't find Ninja or Makefile (%r or %r), aborting" % (build_file_ninja, build_file_make))
return return
# needed for when arguments are referenced relatively
os.chdir(BUILD_DIR)
source_path = "blender/source/blender/" source_path = "blender/source/blender/"
if 1: if 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment