Support Visual Studio Generator "DependentUpon" attribute for non csproj files.
I'm writing a UWP app which has some xaml files. In a hand-generated project these would be dependent upon the corresponding cpp and h files using the msbuild tag. This doesn't seem possible using current versions of CMake. I found the seemingly undocumented VS_CSHARP_DependentUpon source file property, but this is ignored for vcxproj files which can have similar requirements.
Is there any way to make this non-project-file specific, and supported for any possible project type? I'd like to be able to write:
set_source_files_properties(App.xaml PROPERTIES VS_DependentUpon App.xaml.cpp)
from my C++ based Windows Store project as well as from a C# project.