Commit 23e5580d authored by Ghislain MARY's avatar Ghislain MARY

Call generate_makefile() in prepare.py when configuring build with Xcode.

parent 08520b0c
......@@ -426,6 +426,9 @@ class Preparator:
elif self.generator().endswith("Unix Makefiles"):
self.generate_makefile('$(MAKE) -C')
info("You can now run 'make' to build.")
elif self.generator().endswith("Xcode"):
self.generate_makefile('xcodebuild -project', 'Project.xcodeproj')
info("You can now run 'make' to build.")
else:
warning("Not generating meta-makefile for generator {}.".format(self.generator()))
self.gpl_disclaimer()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment