New in version 3.15.
Specify that the target should not be marked for deployment to a Windows CE or Windows Phone device in the generated Visual Studio solution.
Be default, all EXE and shared library (DLL) targets are marked to deploy to the target device in the generated Visual Studio solution.
Generator expressions are supported.
There are reasons one might want to exclude a target / generated project from deployment:
This shows setting the variable for the target foo.
add_library(foo SHARED foo.cpp) set_property(TARGET foo PROPERTY VS_NO_SOLUTION_DEPLOY ON)
This shows setting the variable for the Release configuration only.
add_library(foo SHARED foo.cpp) set_property(TARGET foo PROPERTY VS_NO_SOLUTION_DEPLOY "$<CONFIG:Release>")
© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.