CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD

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


CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD

New in version 3.8.


Include PACKAGE target to default build.

In Visual Studio solution, by default the PACKAGE target will not be part of the default build. Setting this variable will enable the PACKAGE 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_PACKAGE_TO_DEFAULT_BUILD.html