installer(name, data, compilation_mode, executable, target_subdir)
Creates an installer
This rule creates an installer for targets in data. Running the installer copies built targets to a given prefix. The prefix has to be passed as an argument to the installer.
PARAMETERS
Name | Description | Default Value |
---|---|---|
name | A unique name of this rule. | none |
data | Targets to be installed. File names will not be changed. | none |
compilation_mode | If not empty, sets compilation_mode of targets in data. | "opt" |
executable | If True, the copied files will be set as executable. | True |
target_subdir | Optional subdir under the prefix where the files will be placed. | "" |