[PATCH] D44625: Accept any filepath in llvm_check_source_file_list

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 19 13:47:18 PDT 2018


smeenai added inline comments.


================
Comment at: cmake/modules/LLVMProcessSources.cmake:99
         if( idx LESS 0 )
           message(SEND_ERROR "Found unknown source file ${g}
 Please update ${CMAKE_CURRENT_LIST_FILE}\n")
----------------
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.


https://reviews.llvm.org/D44625





More information about the llvm-commits mailing list