We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c11f805 commit 80d2626Copy full SHA for 80d2626
1 file changed
pylib/gyp/__init__.py
@@ -103,6 +103,18 @@ def Load(
103
for (key, val) in generator.generator_default_variables.items():
104
default_variables.setdefault(key, val)
105
106
+ output_dir = params["options"].generator_output or params["options"].toplevel_dir
107
+ if default_variables["GENERATOR"] == "ninja":
108
+ default_variables.setdefault(
109
+ "PRODUCT_DIR_ABS",
110
+ os.path.join(output_dir, "out", default_variables["build_type"]),
111
+ )
112
+ else:
113
114
115
+ os.path.join(output_dir, default_variables["CONFIGURATION_NAME"]),
116
117
+
118
# Give the generator the opportunity to set additional variables based on
119
# the params it will receive in the output phase.
120
if getattr(generator, "CalculateVariables", None):
0 commit comments