Working With Whole Directories
Let's learn how to deal with whole directories.
We'll cover the following
If we don't want to add individual files to our installation command, we can choose the broader approach and work with entire directories instead.
The install(DIRECTORY)
mode
The install(DIRECTORY)
mode was created for this purpose. It will copy the listed directories verbatim to the chosen destination. Let's see what it looks like:
Get hands-on with 1400+ tech skills courses.