This creates two install components, one which inherits the name of the target (MHRISE) and one that doesn't belong to any install component.
This PR lets you specify a component for the install so that you can do something like:
[[install]]
targets = ["MHRISE"]
destination = "MHRISE"
component = "MHRISE" # optional since its the same as the first target name
[[install]]
destination = "MHRISE"
files = ["dependencies/openvr/bin/win64/openvr_api.dll"]
component = "MHRISE"
Which lets you install the specific component along with the required files via command line:
Sometimes you want a component to install a target, as well as some files. For example:
This creates two install components, one which inherits the name of the target (
MHRISE
) and one that doesn't belong to any install component.This PR lets you specify a component for the install so that you can do something like:
Which lets you install the specific component along with the required files via command line:
I found this necessary since while cmkr doesn't complain about the following:
CMake complains with:
[cmake] install TARGETS given target "FILES" which does not exist.