[Cmake] CMake Bug: Support caps ext (.C .H)

Andy Cedilnik andy . cedilnik at kitware . com
24 Sep 2003 07:52:54 -0400


Hi Nitin,

I do not think there will be any more work done on 1.6 branch of CMake.
Please look into 1.8 or the CVS branch and let me know if the problem
stil exists.

				Andy

On Wed, 2003-09-24 at 00:16, Nitin Gupta wrote:
> Hi Andy,
> 
> > The thing is that several people on Unix (non cygwin, non Mac OSX) use
> > capital C and  capital H for C++ files. This can be a problem though if
> > you copy files from windows machine and preserve capital extension.
> 
> OK. Then there is a bit of inconsistency in the code. The function
> cmSystemTools::FileFormat cmSystemTools::GetFileFormat(const char* cext)
> would return C_FILE_FORMAT for .c and .C files with extension. I'm looking
> into CMake 1.6.7 released.
> 
> > That said, in one of the future version of cmake we plan to replace
> > static extensions with dynamic ones, so they will be defined in the
> > cmake variables. This way you will be able to let say define .c55 to be
> > your c++ extension and .ce do be your C extension.