cmake crashes when using CSharp when there's a custom target to build a C# project
cmake 3.8.0-rc2: Trying to use the new C# support. I have a custom target to build a C# project with msbuild. CSharp enabled in project() and a C# target added: cmake crashes (null ptr) in cmVisualStudio10TargetGenerator::WriteMSToolConfigurationValuesManaged() because ClOptions["Debug"] == null for the custom target.
cmake.exe!cmVisualStudioGeneratorOptions::IsDebug() Line 133 C++
cmake.exe!cmVisualStudio10TargetGenerator::WriteMSToolConfigurationValuesManaged(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & config) Line 979 C++
cmake.exe!cmVisualStudio10TargetGenerator::WriteProjectConfigurationValues() Line 912 C++
cmake.exe!cmVisualStudio10TargetGenerator::Generate() Line 449 C++
cmake.exe!cmLocalVisualStudio10Generator::Generate() Line 76 C++
cmake.exe!cmGlobalGenerator::Generate() Line 1321 C++
cmake.exe!cmGlobalVisualStudio7Generator::Generate() Line 291 C++
cmake.exe!cmGlobalVisualStudio10Generator::Generate() Line 326 C++
cmake.exe!cmake::Generate() Line 1625 C++