3.16. Install

The next step in chain of Configure ‣ Generate ‣ Build ‣ Test stages is install: final step of development process which often require privilege escalation (make vs sudo make install). Installation is an important part of the ecosystem: results of the project installation allows to integrate it into another project using find_package and unlike add_subdirectory doesn’t pollute current scope with unnecessary targets and variables. Packing use install procedure under the hood.

Examples on GitHub