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

List:       cmake
Subject:    Re: [CMake] globs case sensitivity depends on platform
From:       🐋_Jan_Hegewald <jan.hegewald () awi ! de>
Date:       2016-01-28 15:52:06
Message-ID: 02BC5959-D2C5-4959-90B9-6CC8F1C33E1D () awi ! de
[Download RAW message or body]

Hi Andreas,

> On 28.01.2016, at 16:43, Andreas Pakulat <apaku@gmx.de> wrote:
> 
> Hi Jan,
> 
> On Thu, Jan 28, 2016 at 2:35 PM, 🐋 Jan Hegewald <jan.hegewald@awi.de> wrote:
> Hi Nils,
> 
> > On 28.01.2016, at 13:39, Nils Gladitz <nilsgladitz@gmail.com> wrote:
> > 
> > You might already be aware but CMake discourages using GLOB for source files
> 
> yes, I read the docs before posting (:
> Avoiding glob would be a workaround to my problem. But anyway I think that glob is \
> broken if it produces different results on different platforms. 
> I can't find any docs on cmake.org about what a globbing-expression is exactly, but \
> the docs for file(glob) at least don't say anything about this function producing \
> the same results on different platforms. In fact I'd be surprised if the behavior \
> of the file(glob) function is different than using the same wildcards with ls/dir \
> on a terminal.

the cmake glob is different from the results of a terminal ls.

> 
> The only bug that I can see from your description is that the behavior is \
> inconsistent with different types of FS on OSX, that is definetly not matching \
> above mentioned expectation.

Maybe I was unclear about this, but cmake glob ignores the case regardless of the FS \
being case sensitive or not.

> 
> Anyway, the right place to report bugs/problems is \
> https://public.kitware.com/Bug/my_view_page.php

As you hinted at above, I am not really sure if this really is a bug (:

Cheers,
Jan
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake


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

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