3.17. Install¶
The next step in chain of
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.
See also
Examples on GitHub