[clang-tools-extra] [clang-doc][cmake] Copy assets to build directory (PR #95187)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 13 06:48:17 PDT 2024


ilovepi wrote:

> > @petrhosek I'm pretty sure there's a better way to spell this, but I think we need something similar to properly test clang-doc w/o an install step.
> > cc: @PeterChou1
> 
> It looks like copy_directory_if_different is not available on windows

Ugh. I forgot to check the minimum cmake version. This was introduced in 3.26, which IIRC is higher than LLVM’S minimum. https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-E-arg-copy_directory_if_different



https://github.com/llvm/llvm-project/pull/95187


More information about the cfe-commits mailing list