| 
														
															@@ -1590,6 +1590,7 @@ void cmVisualStudio10TargetGenerator::WriteExtraSource(cmSourceFile const* sf) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   std::string shaderAdditionalFlags; 
														 | 
														
														 | 
														
															   std::string shaderAdditionalFlags; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   std::string shaderDisableOptimizations; 
														 | 
														
														 | 
														
															   std::string shaderDisableOptimizations; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   std::string shaderEnableDebug; 
														 | 
														
														 | 
														
															   std::string shaderEnableDebug; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  std::string shaderObjectFileName; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   std::string outputHeaderFile; 
														 | 
														
														 | 
														
															   std::string outputHeaderFile; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   std::string variableName; 
														 | 
														
														 | 
														
															   std::string variableName; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   std::string settingsGenerator; 
														 | 
														
														 | 
														
															   std::string settingsGenerator; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1666,6 +1667,10 @@ void cmVisualStudio10TargetGenerator::WriteExtraSource(cmSourceFile const* sf) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       shaderDisableOptimizations = cmSystemTools::IsOn(sdo) ? "true" : "false"; 
														 | 
														
														 | 
														
															       shaderDisableOptimizations = cmSystemTools::IsOn(sdo) ? "true" : "false"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       toolHasSettings = true; 
														 | 
														
														 | 
														
															       toolHasSettings = true; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    if (const char* sofn = sf->GetProperty("VS_SHADER_OBJECT_FILE_NAME")) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      shaderObjectFileName = sofn; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      toolHasSettings = true; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } else if (ext == "jpg" || ext == "png") { 
														 | 
														
														 | 
														
															   } else if (ext == "jpg" || ext == "png") { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     tool = "Image"; 
														 | 
														
														 | 
														
															     tool = "Image"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } else if (ext == "resw") { 
														 | 
														
														 | 
														
															   } else if (ext == "resw") { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1808,6 +1813,9 @@ void cmVisualStudio10TargetGenerator::WriteExtraSource(cmSourceFile const* sf) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this->WriteElemEscapeXML("DisableOptimizations", 
														 | 
														
														 | 
														
															       this->WriteElemEscapeXML("DisableOptimizations", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                shaderDisableOptimizations, 3); 
														 | 
														
														 | 
														
															                                shaderDisableOptimizations, 3); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    if (!shaderObjectFileName.empty()) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this->WriteElemEscapeXML("ObjectFileOutput", shaderObjectFileName, 3); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     if (!shaderAdditionalFlags.empty()) { 
														 | 
														
														 | 
														
															     if (!shaderAdditionalFlags.empty()) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this->WriteElemEscapeXML("AdditionalOptions", shaderAdditionalFlags, 3); 
														 | 
														
														 | 
														
															       this->WriteElemEscapeXML("AdditionalOptions", shaderAdditionalFlags, 3); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 |