EXCLUDE_FROM_DEFAULT_BUILD

Exclude target from “Build Solution”.

This property is only used by Visual Studio generators 7 and above. When set to TRUE, the target will not be built when you press “Build Solution”.

© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.6/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD.html