[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    Re: source code suffixes
From:       Sandy Meier <smeier () rz ! uni-potsdam ! de>
Date:       2000-01-28 0:17:49
[Download RAW message or body]

Am Mon, 24 Jan 2000 schrieb Shenderovich, Uri:
> Hi all,
> We're currently testing the Kdevelop (1.0 and 1.1b1) and we're very
> satisfied in generall.
> Nevertheless , we have couple of problems/questions :
> 
>  - Kdevelop doesn't add the source code with suffixes other than
> "*.c;*.cc;*.C" to the sources of the projects . In our case , 
>    the sources has the suffix *.x28 ( yes,it's C code )

At the moment this is hardcoded in the file kdevelop/cproject.cpp, but you can
change it and compile KDevelop again. :-)

----
ProjectFileType CProject::getType( const char *aFile )  
...
// Check for a known extension.
      if( ext == ".cpp" || ext == ".c" || ext == ".cc" ||
          ext == ".ec" || ext == ".ecpp" || ext == ".C" || ext == ".cxx" )
        retVal = CPP_SOURCE;
      else if( ext == ".h" || ext == ".hxx" || ext == ".hpp" || ext == ".H" || ext == ".hh" )
        retVal = CPP_HEADER;
      else if( ext == ".l++" || ext == ".lxx" || ext == ".ll" || ext == ".l")
        retVal = LEXICAL;
...
----

Have fun!

Sandy

--
email: smeier@rz.uni-potsdam.de  ICQ: 27681958
the KDevelop project: http://www.kdevelop.org
--
Hi! I'm a signature virus! Copy me into your signature file to help me
spread!

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic