I’m trying to implement custom Msbuild target to use with VS generator. My use case will be:
cmake -G"Visual Studio 16 2019" -A x64 -T"custom_cpp_toolset,VCTargetsPath=path_to_my_targets" ..
Documentation says: Specify an alternative
VCTargetsPath value for Visual Studio project files. This allows use of VS platform extension configuration files (
.targets ) that are not installed with VS.
But I need to include standard configuration files installed with Msbuild like Microsoft.Cpp.props and Microsoft.Cpp.targets in my configuration files. How I can do this? Looks like all standard configurations are not available.