[CMake] RE: CMake 2.4.1/VC71 Why the wierd <project>.dir subdirs?

Alexander Neundorf a.neundorf-work at gmx.net
Tue May 15 16:07:33 EDT 2007


On Thursday 10 May 2007 17:25, Trevor Kellaway wrote:
...
> However, this has exposed a bug/issue, my list of dependencies includes
> some custom commands, one of which has a non-standard language extension
> ".lint", this is causing a crash here:
>
> cmTarget.cxx line 1252 in cmTarget::ComputeObjectFiles()
>
>       cmSourceFile* sf = *s;
>       const char* lang = this->Makefile->GetLocalGenerator()->
>         GetGlobalGenerator()->
>         GetLanguageFromExtension(sf->GetSourceExtension().c_str());
> L1252:  std::string lookupObj = objExtensionLookup1 + lang;
>
> lang is 0x00000000, as the extension lookup has failed.
>
> Would you like me to raise a bug report for this?

Fixed in cvs, thanks for the report.

Bye
Alex


More information about the CMake mailing list