Kaynağa Gözat

Merge topic 'vs-alternate-RootNamespace'

8aa97fba VS: Handle VS_GLOBAL_RootNamespace special case
Brad King 9 yıl önce
ebeveyn
işleme
850764fc70
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3 1
      Source/cmVisualStudio10TargetGenerator.cxx

+ 3 - 1
Source/cmVisualStudio10TargetGenerator.cxx

@@ -531,7 +531,9 @@ void cmVisualStudio10TargetGenerator::WriteEmbeddedResourceGroup()
              this->Configurations.begin();
            i != this->Configurations.end(); ++i) {
         this->WritePlatformConfigTag("LogicalName", i->c_str(), 3);
-        if (this->GeneratorTarget->GetProperty("VS_GLOBAL_ROOTNAMESPACE")) {
+        if (this->GeneratorTarget->GetProperty("VS_GLOBAL_ROOTNAMESPACE") ||
+            // Handle variant of VS_GLOBAL_<variable> for RootNamespace.
+            this->GeneratorTarget->GetProperty("VS_GLOBAL_RootNamespace")) {
           (*this->BuildFileStream) << "$(RootNamespace).";
         }
         (*this->BuildFileStream) << "%(Filename)";