summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio71Generator.cxx
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2016-09-23 10:15:40 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-19 15:14:16 (GMT)
commit4f78b9ff2df89d5b4104f92251feb0a7f0976d7f (patch)
tree9f17e2ab318d8eb876674f746ba0b470fadd13ee /Source/cmGlobalVisualStudio71Generator.cxx
parent0de6a404aafb497074980eba5144d243b6868d68 (diff)
downloadCMake-4f78b9ff2df89d5b4104f92251feb0a7f0976d7f.zip
CMake-4f78b9ff2df89d5b4104f92251feb0a7f0976d7f.tar.gz
CMake-4f78b9ff2df89d5b4104f92251feb0a7f0976d7f.tar.bz2
VS: Add CSharp project uuid and file extension
This is in preparation for adding CSharp language support to the VS generator.
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio71Generator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx
index ffd87e2..1fa2741 100644
--- a/Source/cmGlobalVisualStudio71Generator.cxx
+++ b/Source/cmGlobalVisualStudio71Generator.cxx
@@ -159,6 +159,10 @@ void cmGlobalVisualStudio71Generator::WriteProject(std::ostream& fout,
ext = ".vfproj";
project = "Project(\"{6989167D-11E4-40FE-8C1A-2192A86A7E90}\") = \"";
}
+ if (this->TargetIsCSharpOnly(t)) {
+ ext = ".csproj";
+ project = "Project(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"";
+ }
const char* targetExt = t->GetProperty("GENERATOR_FILE_NAME_EXT");
if (targetExt) {
ext = targetExt;