cmdoption-cmake-install-component does not help to get list of possible components to install
bash-5.3$ cmake --install . --component
CMake Error: Invalid value used with --component
Usage: cmake --install <dir> [options]
Options:
<dir> = Project binary directory to install.
--config <cfg> = For multi-configuration tools, choose <cfg>.
--component <comp> = Component-based install. Only install <comp>.
--default-directory-permissions <permission>
Default install permission. Use default permission <permission>.
-j <jobs> --parallel <jobs>
Build in parallel using the given number of jobs.
The CMAKE_INSTALL_PARALLEL_LEVEL environment variable
specifies a default parallel level when this option is not given.
--prefix <prefix> = The installation prefix CMAKE_INSTALL_PREFIX.
--strip = Performing install/strip.
-v --verbose = Enable verbose output.
bash-5.3$ cmake --install . --component .
-- Install configuration: "Release"
bash-5.3$
I would help to get all possible component names to install instead of this output.