set_copy_deps

set_copy_deps :: fn (assembly: Assembly, v: bool)

Set whether copying of all runtime dependencies of executable into the current output directory set by set_output_dir is enabled. This value is true by default on Windows and false by default on Unix platforms. When this feature is enabled, an output directory will contain all dynamically linked libraries added into the solution by link_library function call or specified as dependency of imported module.

No copying is done when library is already present in the output directory (to speed up compilation times), library updates must be handled manually (for example by deleting or renaming all libraries you want update).

When ModuleImportPolicy is set to Bundle or BundleLatest compiler will lookup dependencies in project’s local modules.

Declared in: build.bl