diff --git a/build.sh b/build.sh index e10820b..95ba736 100755 --- a/build.sh +++ b/build.sh @@ -47,9 +47,9 @@ elif [ -x "$(command -v dmd)" ]; then d_compiler="dmd"; else echo "Unable to find D compiler"; exit -1; fi; codegen_src="${script_dir}/vulkan_codegen.d" -codegen_out="${build}/vulkan_codegen" +codegen_out="--of=${build}/vulkan_codegen" -$d_compiler $codegen_src $out $codegen_out +$d_compiler $codegen_src $codegen_out $codegen_out $build/$base_name.spv