mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
VS: Add CSharp project uuid and file extension
This is in preparation for adding CSharp language support to the VS generator.
This commit is contained in:
committed by
Brad King
parent
0de6a404aa
commit
4f78b9ff2d
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user