forked from OSchip/llvm-project
[cmake] Add a simple function to dump all variables.
This is useful when debugging CMake problems. llvm-svn: 313574
This commit is contained in:
parent
c8d8653de8
commit
f8c80f9101
|
@ -1187,6 +1187,13 @@ function(configure_lit_site_cfg input output)
|
|||
endif()
|
||||
endfunction()
|
||||
|
||||
function(dump_all_cmake_variables)
|
||||
get_cmake_property(_variableNames VARIABLES)
|
||||
foreach (_variableName ${_variableNames})
|
||||
message(STATUS "${_variableName}=${${_variableName}}")
|
||||
endforeach()
|
||||
endfunction()
|
||||
|
||||
function(get_llvm_lit_path base_dir file_name)
|
||||
cmake_parse_arguments(ARG "ALLOW_EXTERNAL" "" "" ${ARGN})
|
||||
|
||||
|
|
Loading…
Reference in New Issue