[cmake-commits] alex committed cmGlobalKdevelopGenerator.cxx 1.24 1.25

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Aug 21 13:47:31 EDT 2007


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

Modified Files:
	cmGlobalKdevelopGenerator.cxx 
Log Message:

ENH: also check for .hpp and .cxx files

Alex


Index: cmGlobalKdevelopGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalKdevelopGenerator.cxx,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- cmGlobalKdevelopGenerator.cxx	10 Jun 2007 23:51:26 -0000	1.24
+++ cmGlobalKdevelopGenerator.cxx	21 Aug 2007 17:47:29 -0000	1.25
@@ -245,8 +245,8 @@
     if (fileToOpen.empty())
     {
        std::string ext = cmSystemTools::GetFilenameExtension(tmp);
-       if ((ext==".c") || (ext==".cc") || (ext==".cpp") 
-           || (ext==".C") || (ext==".h"))
+       if ((ext==".c") || (ext==".cc") || (ext==".cpp")  || (ext==".cxx")
+           || (ext==".C") || (ext==".h") || (ext==".hpp"))
        {
        fileToOpen=tmp;
        }



More information about the Cmake-commits mailing list