[CMake] cmake uppercase source file problem

Ralf Habacker ralf.habacker at freenet.de
Thu Aug 21 01:56:06 EDT 2008


Ralf Habacker schrieb:
> Hi,
>
> while working on a C++ project migrating from old Turbo C++ ide's I 
> encountered a problem with uppercase extensions. 
Update/additional informations:

I tried to use

SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)

and to patch cmake source to add the .CPP as default c++ extension, but 
nothing helps.

I suggest that

- cmake should general print a kind of  <file ... is ignored> message if 
the related extension is not known because otherwise it may be hard to 
track down those silent-file-ignore-errors

and
 - cmake should have support extensions case insensitive on windows

Regards
 Ralf





More information about the CMake mailing list