EricWF added inline comments. ================ Comment at: include/CMakeLists.txt:31 @@ +30,3 @@ + # by prepending __config_site to the current __config header. + # TODO(EricWF) Is it portable to use "cat" and ">>"? + add_custom_command(OUTPUT ${LIBCXX_BINARY_DIR}/__generated_config ---------------- eugenis wrote: > I don't think >> would work on windows. > Do you really need __generated_config to be created at build time (as opposed > to configure time)? You could use file(read) and file(append) then. > I would strongly prefer the file got generated at build time so that it contains any changes made in the source tree. Any other behavior is developer hostile and non-obvious. In order to keep the installed headers consistent we need to do this. Although I hope there is a better way to achieve this.
http://reviews.llvm.org/D13407 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits