From d93cbf6a3974d612b5d7af0c56597afa5cd7bce5 Mon Sep 17 00:00:00 2001
From: Gilles Khouzam <gillesk@microsoft.com>
Date: Thu, 18 Sep 2014 14:14:54 -0700
Subject: [PATCH] Certificate files are not added to a VisualStudio project.

	When certificates were moved into their own category
	in the GeneratorTarget, they were not being added to the
	source groups. This changes fixes that issue.
---
 Source/cmVisualStudio10TargetGenerator.cxx | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index cf30786..5b7d7ac 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -1330,6 +1330,10 @@ void cmVisualStudio10TargetGenerator::WriteAllSources()
   this->GeneratorTarget->GetAppManifest(manifestSources, "");
   this->WriteSources("AppxManifest", manifestSources);
 
+  std::vector<cmSourceFile const*> certificateSources;
+  this->GeneratorTarget->GetCertificates(certificateSources, "");
+  this->WriteSources("None", certificateSources);
+
   std::vector<cmSourceFile const*> externalObjects;
   this->GeneratorTarget->GetExternalObjects(externalObjects, "");
   for(std::vector<cmSourceFile const*>::iterator
-- 
1.9.4.msysgit.1

