[PATCH] D13407: [libcxx] Capture configuration information when installing the libc++ headers

Evgeniy Stepanov via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 6 13:05:45 PDT 2015


eugenis added a comment.

Looks great!


================
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
----------------
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.



http://reviews.llvm.org/D13407





More information about the cfe-commits mailing list