install() command specifics for TARGETS mode specifier

Targets defined by add_library() and add_executable() can easily be installed with the install(TARGETS) command. This means copying the artifacts that have been produced by the buildsystem to the appropriate destination directories and setting suitable file permissions for them. The general signature for this mode is as follows:

Get hands-on with 1200+ tech skills courses.