aboutsummaryrefslogtreecommitdiff
path: root/lib/cmake/llvm/LLVMProcessSources.cmake
diff options
context:
space:
mode:
authorDanny <danny@kdrag0n.dev>2021-01-09 23:34:32 +0000
committermosimchah <mosimchah@gmail.com>2021-01-22 03:35:20 -0800
commit783d21ff74759076d2fc503685ca47d2c29baea3 (patch)
treed650cc46cbf7ca53f15c77ced2682e97d492c068 /lib/cmake/llvm/LLVMProcessSources.cmake
parentfdbc6f7102056fb52d26bfb2cbc6ea317890ee34 (diff)
Update to 20210109 buildHEADmaster
LLVM commit: https://github.com/llvm/llvm-project/commit/b02eab9058e58782fca32dd8b1e53c27ed93f866 binutils version: 2.35.1 Builder commit: https://github.com/kdrag0n/proton-clang-build/commit/ba42f701467c9103f23fbb90aca4b23858221ee2
Diffstat (limited to 'lib/cmake/llvm/LLVMProcessSources.cmake')
-rw-r--r--lib/cmake/llvm/LLVMProcessSources.cmake8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/cmake/llvm/LLVMProcessSources.cmake b/lib/cmake/llvm/LLVMProcessSources.cmake
index d0be0e8..ba8dca3 100644
--- a/lib/cmake/llvm/LLVMProcessSources.cmake
+++ b/lib/cmake/llvm/LLVMProcessSources.cmake
@@ -57,10 +57,12 @@ endfunction(find_all_header_files)
function(llvm_process_sources OUT_VAR)
- cmake_parse_arguments(ARG "" "" "ADDITIONAL_HEADERS;ADDITIONAL_HEADER_DIRS" ${ARGN})
+ cmake_parse_arguments(ARG "PARTIAL_SOURCES_INTENDED" "" "ADDITIONAL_HEADERS;ADDITIONAL_HEADER_DIRS" ${ARGN})
set(sources ${ARG_UNPARSED_ARGUMENTS})
- llvm_check_source_file_list( ${sources} )
-
+ if (NOT ARG_PARTIAL_SOURCES_INTENDED)
+ llvm_check_source_file_list(${sources})
+ endif()
+
# This adds .td and .h files to the Visual Studio solution:
add_td_sources(sources)
find_all_header_files(hdrs "${ARG_ADDITIONAL_HEADER_DIRS}")