llvm_check_source_file_list currently only accepts paths relative to current CMAKE_SOURCE_DIR. Extend it to any path, including absolute ones.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Error message updated.
| cmake/modules/LLVMProcessSources.cmake | ||
|---|---|---|
| 84–89 | ${entry} is still used in `list(FIND LLVM_OPTIONAL_SOURCES ${entry} idx)`. I don't quite get where LLVM_OPTIONAL_SOURCES is set though. | |
| cmake/modules/LLVMProcessSources.cmake | ||
|---|---|---|
| 99 | I think ${g} is still gonna be the full path, since it's the result of a glob. You'll need to do an explicit relative path calculation. | |
Error message checked on our codebase without issue. Indeed a relative path looks prettier.
You should be able to delete this entire block now.