File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -258,17 +258,15 @@ def options(opts, env):
258
258
help = "Path to a custom directory containing GDExtension interface header and API JSON file" ,
259
259
default = env .get ("gdextension_dir" , None ),
260
260
validator = validate_dir ,
261
- ),
262
- converter = normalize_path ,
261
+ )
263
262
)
264
263
opts .Add (
265
264
PathVariable (
266
265
key = "custom_api_file" ,
267
266
help = "Path to a custom GDExtension API JSON file (takes precedence over `gdextension_dir`)" ,
268
267
default = env .get ("custom_api_file" , None ),
269
268
validator = validate_file ,
270
- ),
271
- converter = normalize_path ,
269
+ )
272
270
)
273
271
opts .Add (
274
272
BoolVariable (
@@ -537,8 +535,10 @@ def generate(env):
537
535
538
536
539
537
def _godot_cpp (env ):
540
- extension_dir = env .get ("gdextension_dir" , default = env .Dir ("gdextension" ).srcnode ().abspath )
541
- api_file = env .get ("custom_api_file" , default = os .path .join (extension_dir , "extension_api.json" ))
538
+ extension_dir = normalize_path (env .get ("gdextension_dir" , default = env .Dir ("gdextension" ).srcnode ().abspath ), env )
539
+ api_file = normalize_path (
540
+ env .get ("custom_api_file" , default = os .path .join (extension_dir , "extension_api.json" )), env
541
+ )
542
542
543
543
bindings = env .GodotCPPBindings (
544
544
env .Dir ("." ),
You can’t perform that action at this time.
0 commit comments