[Cmake-commits] [cmake-commits] king committed cmGlobalGenerator.cxx 1.249 1.250

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Feb 12 13:25:17 EST 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv18640/Source

Modified Files:
	cmGlobalGenerator.cxx 
Log Message:
BUG: Fix logic of LabelFiles.txt generation

This fixes a dumb logic error which causes generation of LabelFiles.txt
to try to open the file once for every target with labels.


Index: cmGlobalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v
retrieving revision 1.249
retrieving revision 1.250
diff -C 2 -d -r1.249 -r1.250
*** cmGlobalGenerator.cxx	10 Feb 2009 13:50:21 -0000	1.249
--- cmGlobalGenerator.cxx	12 Feb 2009 18:25:15 -0000	1.250
***************
*** 2146,2149 ****
--- 2146,2150 ----
          {
          fout.Open(fname.c_str());
+         opened = true;
          }
        fout << file << "\n";



More information about the Cmake-commits mailing list