[llvm-commits] [llvm] r79732 - /llvm/trunk/cmake/modules/TableGen.cmake

Douglas Gregor dgregor at apple.com
Mon Aug 24 10:40:13 PDT 2009


On Aug 24, 2009, at 10:20 AM, Óscar Fuentes wrote:

> Douglas Gregor <dgregor at apple.com> writes:
>
>> Author: dgregor
>> Date: Sat Aug 22 02:00:18 2009
>> New Revision: 79732
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=79732&view=rev
>> Log:
>> CMake: Don't use copy_if_different for TableGen output, because it  
>> does not work with IDE targets
>
> What means "does not work"?
>
> Which IDEs have this problem?


Both Xcode and Visual C++ have different problems.

In Xcode, one has to build *twice* after changing a .td file. The  
first time rebuilds the .inc files, then the second time rebuilds  
anything that depends on the .inc files.

In Visual C++, targets that depend on the .inc files end up getting  
rebuilt every time we hit "build", even if the .td files haven't  
changed. (At least, this is what I hear; I don't have Visual C++  
around to verify).

	- Doug



More information about the llvm-commits mailing list