diff options
author | Brad King <brad.king@kitware.com> | 2016-10-20 12:51:24 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-10-20 12:51:24 (GMT) |
commit | 7aa9961939f99c915485d86e460b9941f949d59c (patch) | |
tree | 93d61b5dc2cb49a6e1172aa499d9df986e35ced1 /Source/cmGlobalVisualStudio71Generator.cxx | |
parent | fc7ecd6b0570d91a31221203e4bbaf7e48006662 (diff) | |
parent | f27492a4db2c56f334b2ca5c746b01b8e9a04995 (diff) | |
download | CMake-7aa9961939f99c915485d86e460b9941f949d59c.zip CMake-7aa9961939f99c915485d86e460b9941f949d59c.tar.gz CMake-7aa9961939f99c915485d86e460b9941f949d59c.tar.bz2 |
Merge topic 'vs-csharp-prep'
f27492a4 VS: Add internal API for detecting "managed" projects
4f78b9ff VS: Add CSharp project uuid and file extension
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio71Generator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx index 6941e15..8af0512 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; |