[CMake] globs case sensitivity depends on platform

Nils Gladitz nilsgladitz at gmail.com
Thu Jan 28 07:39:50 EST 2016


On 01/28/2016 12:56 PM, 🐋 Jan Hegewald wrote:
> Hi all,
> I have some trouble with file globbing using the glob command like so:
> 	file(GLOB all_sources ${src_home}/*.F**)

You might already be aware but CMake discourages using GLOB for source 
files; though for different reasons (see Note in [1]).
Incidentally using explicit source file listings would work around this 
issue as well.

Nils

[1] https://cmake.org/cmake/help/v3.4/command/file.html


More information about the CMake mailing list