struct Options [src]
Fields
dest_dir: Dir = .defaultWhich installation directory to put the main output file into.
pdb_dir: Dir = .default
h_dir: Dir = .default
implib_dir: Dir = .default
dylib_symlinks: ?bool = nullWhether to install symlinks along with dynamic libraries.
dest_sub_path: ?[]const u8 = nullIf non-null, adds additional path components relative to bin dir, and
overrides the basename of the Compile step for installation purposes.
Members
- Dir (union)
Source
pub const Options = struct {
/// Which installation directory to put the main output file into.
dest_dir: Dir = .default,
pdb_dir: Dir = .default,
h_dir: Dir = .default,
implib_dir: Dir = .default,
/// Whether to install symlinks along with dynamic libraries.
dylib_symlinks: ?bool = null,
/// If non-null, adds additional path components relative to bin dir, and
/// overrides the basename of the Compile step for installation purposes.
dest_sub_path: ?[]const u8 = null,
pub const Dir = union(enum) {
disabled,
default,
override: InstallDir,
};
}