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

Yaron Keren yaron.keren at gmail.com
Tue Mar 4 12:24:26 PST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140304/ad0dc947/attachment.html>


More information about the cfe-dev mailing list