| 
														
															@@ -214,14 +214,7 @@ void cmLocalGenerator::TraceDependencies() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 void cmLocalGenerator::GenerateTestFiles() 
														 | 
														
														 | 
														
															 void cmLocalGenerator::GenerateTestFiles() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 { 
														 | 
														
														 | 
														
															 { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  std::string file = this->StateSnapshot.GetDirectory().GetCurrentBinary(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  file += "/"; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  file += "CTestTestfile.cmake"; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   if (!this->Makefile->IsOn("CMAKE_TESTING_ENABLED")) { 
														 | 
														
														 | 
														
															   if (!this->Makefile->IsOn("CMAKE_TESTING_ENABLED")) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    if (cmSystemTools::FileExists(file)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      cmSystemTools::RemoveFile(file); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     return; 
														 | 
														
														 | 
														
															     return; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -230,6 +223,10 @@ void cmLocalGenerator::GenerateTestFiles() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   const std::string& config = 
														 | 
														
														 | 
														
															   const std::string& config = 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     this->Makefile->GetConfigurations(configurationTypes, false); 
														 | 
														
														 | 
														
															     this->Makefile->GetConfigurations(configurationTypes, false); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  std::string file = this->StateSnapshot.GetDirectory().GetCurrentBinary(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  file += "/"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  file += "CTestTestfile.cmake"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   cmGeneratedFileStream fout(file.c_str()); 
														 | 
														
														 | 
														
															   cmGeneratedFileStream fout(file.c_str()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   fout.SetCopyIfDifferent(true); 
														 | 
														
														 | 
														
															   fout.SetCopyIfDifferent(true); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 |