Installing Projects on the System
Let's learn how to install our project on the system.
We'll cover the following...
CMake offers following command-line mode that installs built projects on the system:
cmake --install <dir> [<options>]
<dir> is the path to the generated build tree (required). Our <options> are as follows:
--config <cfg>: This picks the build configuration for a multi-configuration generator.--component <comp>: This limits the installation to the given component.--default-directory-permissions <permissions>: This sets the default permissions for the installed directories (in<u=rwx,g=rx,o=rx>format).-
-prefix...
Ask