EricWF added a comment.

In http://reviews.llvm.org/D11963#235148, @jroelofs wrote:

> In http://reviews.llvm.org/D11963#234789, @EricWF wrote:
>
> > Copy the headers to the build directory during every build instead of just 
> > during CMake configuration.
>
>
> Sounds like this would cause every build to effectively be a full build. I 
> don't think we want that...
>
> If that's the case, then I think we should use the same trick that TableGen 
> uses: write the new file to a temporary, and overwrite it iff they differ.


So that's not what happens but that's because libc++ builds using the headers 
in the source directory. During the build all of the macros in the 
__config_site file are manually defined on the command line so that we don't 
need to use the generated headers. NOTE: The tests still use the generated 
headers though.


http://reviews.llvm.org/D11963



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to