[Cmake] file name case

Dekeyser, Kris Kris.Dekeyser at lms.be
Thu Sep 16 04:34:16 EDT 2004


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
> 
> Thanks,
> -Brad
> 
+-+-+- Email Confidentiality Footer +-+-+- 
Privileged/Confidential Information may be contained in this message. If you
are not the addressee indicated in this message (or responsible for delivery
of the message to such person), you may not print, retain, copy nor
disseminate this message or any part of it to anyone and you should notify
the sender by reply email and destroy this message. Neglecting this clause
could be a breach of confidence. Please advise immediately if you or your
employer does not consent to Internet email for messages of this kind.
Opinions, conclusions and other information in this message that are not
related to the official business of my firm shall be understood as neither
given nor endorsed by it.



More information about the Cmake mailing list