[Cmake-commits] [cmake-commits] king committed cmGlobalXCodeGenerator.cxx 1.193 1.194

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jul 7 13:12:23 EDT 2008


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

Modified Files:
	cmGlobalXCodeGenerator.cxx 
Log Message:
BUG: Do not build human-reference files in Xcode

  - The Info.plist file in app bundles should not be built.
  - User-specified files such as foo.txt should not be built.
  - Only files with a recognized language should be built,
    just as in the Makefiles generators.
  - See bug #7277.


Index: cmGlobalXCodeGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v
retrieving revision 1.193
retrieving revision 1.194
diff -C 2 -d -r1.193 -r1.194
*** cmGlobalXCodeGenerator.cxx	7 Jul 2008 14:57:32 -0000	1.193
--- cmGlobalXCodeGenerator.cxx	7 Jul 2008 17:12:21 -0000	1.194
***************
*** 705,709 ****
        else
          {
!         sourceFiles.push_back(xsf);
          }
        }
--- 705,716 ----
        else
          {
!         // Include this file in the build if it has a known language
!         // and has not been listed as an ignored extension for this
!         // generator.
!         if(this->CurrentLocalGenerator->GetSourceFileLanguage(**i) &&
!            !this->IgnoreFile((*i)->GetExtension().c_str()))
!           {
!           sourceFiles.push_back(xsf);
!           }
          }
        }



More information about the Cmake-commits mailing list