Hi,
Attached are patched to LLVM and libcxx to allow libc++ to be built with CMake from within the LLVM tree.
The libc++ part is just some renaming as the variable ${headers} was already in use, conflicting with something else in the LLVM tree.
The LLVM part copied the directory scanning code in the “projects” subdir to add all existing subdirectories to the build.
Please comment or apply, thanks!
Ruben
PS: I’m not subscribed to the list, so please CC me when replying, thank you.
libcxxinllvmtree_libcxx.patch.txt (1.9 KB)
libcxxinllvmtree_llvm.patch.txt (450 Bytes)