[cfe-dev] tablegenning projects always build due to add_custom_target

NAKAMURA Takumi geek4civic at gmail.com
Wed Mar 5 01:06:52 PST 2014


I suppose it's possible behavior in Visual Studio (and msbuild.exe).
I don't care as far as each generating project would run but it
doesn't run any actions.

That said, patches welcome :)

2014-03-05 5:24 GMT+09:00 Yaron Keren <yaron.keren at gmail.com>:
> Hi,
>
>
> The tablegenning projects of LLVM and clang always run commands since they
> are use add_custom_target which is ALWAYS CONSIDERED OUT OF DATE even if the
> commands try to create a file with the name of the target. See
>
> http://www.cmake.org/cmake/help/cmake2.6docs.html#command:add_custom_target
>
> This causes delay when running clang from an IDE.
> 41 projects run their commands without any need before clang runs.
>
> Is there a better way to handle these targets so they will execute commands
> only when dependencies change, like all the other projects in LLVM?
>
> Yaron
>
>
>



More information about the cfe-dev mailing list