[Cmake] file name case

Andy Cedilnik andy.cedilnik at kitware.com
Thu Sep 16 07:08:08 EDT 2004


Hi Kris,

We usually still add bug report, so that things do not get lost.

Thank you.
	
				Andy

On Thu, 2004-09-16 at 04:34, Dekeyser, Kris wrote:
> Thanks for the answer, but apparently the bug report is not needed anymore.
> As I was looking if I could supply a patch, I noticed on the CVS that it was
> fixed yesterday evening by andy :-). Along with a fix for the extra slash
> added to the path. I'll try and run a cvs based build this evening.
> 
> - Kris
> 
> > -----Original Message-----
> > From: Brad King [mailto:brad.king at kitware.com]
> > Sent: Wednesday, September 15, 2004 19:29
> > To: Dekeyser, Kris
> > Cc: CMake (E-mail)
> > Subject: Re: [Cmake] file name case
> > 
> > 
> > Dekeyser, Kris wrote:
> > > I collect file names to be included in my VS IDE project. I 
> > do this with:
> > > 
> > > FILE(GLOB_RECURSE MyFiles "${dir}/${wildcard}")
> > > 
> > > with e.g. dir="${PROJECT_SOURCE_DIR}/include" and wildcard="*.h*"
> > > 
> > > but unfortunately the call returns the file names as:
> > > 
> > > Path/To/File//filename.hpp
> > > 
> > > thereby loosing the original case of the filename (e.g. 
> > FileName.hpp). This
> > > is annoying, because we develop on Windows, but the same 
> > source should also
> > > compile on Unix. The developers have no clue as to the case 
> > of the file and
> > > will write
> > > 
> > > #include "filename.hpp"
> > > 
> > > and the code will break when compiling on Unix.
> > > 
> > > This seems to be a bug. Can you confirm?
> > 
> > Yes, this is a bug.  Please report it here:
> > 
> > http://www.cmake.org/Bug
> > 



More information about the Cmake mailing list