[cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

Nicolas Desprès nicolas.despres at gmail.com
Wed Jul 24 13:56:48 EDT 2013


On Wed, Jul 24, 2013 at 12:18 PM, Stephen Kelly <steveire at gmail.com> wrote:

> Nicolas Desprès wrote:
>
> >> > That's said we can optimize further as I mentioned in my comment (
> >> >
> >>
> >>
>
> https://github.com/nicolasdespres/CMake/commit/59c871da8b00554812e93ba9c6e47d864424efb0#L0R2023
> >> ).
> >> > Do you have an opinion about it?
> >>
> >> Do I understand correctly that the issue is that OutputToSource values
> >> can be absolute or relative paths? That would be fixable by patching
> only
> >> UpdateOutputToSourceMap, right?
> >>
> > Not exactly. According to my tests only
> > cmMakefiles::GetSourceFileWithOutput's cname argument can be either
> > relative or absolute.
>
> Then patching the callers of GetSourceFileWithOutput is worth looking into.
> There are not many. You'd have to try it and see if any issues come up.
>
> Ok. I will give it a try tomorrow. I hope it won't bring in part of CMake
I do not know.

Cheers,
-Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130724/5027a389/attachment.html>


More information about the cmake-developers mailing list