From 59d102f61fa50efedc9c7808fbca9b399623e285 Mon Sep 17 00:00:00 2001 From: Jonathan Schwender Date: Thu, 30 Nov 2023 07:55:21 +0800 Subject: [PATCH] fixup! Fix support for hostbuild executables when cross-compiling to non-windows on windows hosts Fix copy byproducts new signature in egacy generator --- generator/src/subcommands/gen_cmake/target.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generator/src/subcommands/gen_cmake/target.rs b/generator/src/subcommands/gen_cmake/target.rs index 0d0af9db..6d004013 100644 --- a/generator/src/subcommands/gen_cmake/target.rs +++ b/generator/src/subcommands/gen_cmake/target.rs @@ -184,22 +184,22 @@ impl CargoTarget { if(archive_byproducts) _corrosion_copy_byproducts( - {target_name} ARCHIVE_OUTPUT_DIRECTORY \"${{cargo_build_out_dir}}\" \"${{archive_byproducts}}\" + {target_name} ARCHIVE_OUTPUT_DIRECTORY \"${{cargo_build_out_dir}}\" \"${{archive_byproducts}}\" FALSE ) endif() if(shared_lib_byproduct) _corrosion_copy_byproducts( - {target_name} LIBRARY_OUTPUT_DIRECTORY \"${{cargo_build_out_dir}}\" \"${{shared_lib_byproduct}}\" + {target_name} LIBRARY_OUTPUT_DIRECTORY \"${{cargo_build_out_dir}}\" \"${{shared_lib_byproduct}}\" FALSE ) endif() if(pdb_byproduct) _corrosion_copy_byproducts( - {target_name} PDB_OUTPUT_DIRECTORY \"${{cargo_build_out_dir}}\" \"${{pdb_byproduct}}\" + {target_name} PDB_OUTPUT_DIRECTORY \"${{cargo_build_out_dir}}\" \"${{pdb_byproduct}}\" FALSE ) endif() if(bin_byproduct) _corrosion_copy_byproducts( - {target_name} RUNTIME_OUTPUT_DIRECTORY \"${{cargo_build_out_dir}}\" \"${{bin_byproduct}}\" + {target_name} RUNTIME_OUTPUT_DIRECTORY \"${{cargo_build_out_dir}}\" \"${{bin_byproduct}}\" TRUE ) endif() ",