CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD

From Get docs
Cmake/docs/3.21/variable/cmake vs include install to default build


CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD

New in version 3.3.


Include INSTALL target to default build.

In Visual Studio solution, by default the INSTALL target will not be part of the default build. Setting this variable will enable the INSTALL target to be part of the default build.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD.html