mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-24 09:09:43 -05:00
Use lower case style for commands
Where possible this syncs the CS for command names: - check_c_source_compiles() - check_cxx_compiler_flag() - check_cxx_source_compiles() - check_cxx_symbol_exists() - check_include_file_cxx() - check_include_file() - check_include_files() - check_library_exists() - check_source_compiles() - check_struct_has_member() - check_symbol_exists() - check_type_size() - cmake_dependent_option() - cmake_parse_arguments() - feature_summary() - file() - find_package_handle_standard_args() - if(), endif... - install(FILES) - list() - message() - pkg_check_modules() - select_library_configurations() - set_package_info() - test_big_endian()
This commit is contained in:
@@ -82,7 +82,7 @@ function(android_push_test_files_to_device)
|
||||
# dev_object_store : absolute path to the device object store directory.
|
||||
# link_origin : absolute path to the origin of the link to the dev obj store data file.
|
||||
function(push_and_link data_path dev_object_store link_origin)
|
||||
FILE(SHA1 ${data_path} hash_val)
|
||||
file(SHA1 ${data_path} hash_val)
|
||||
set(obj_store_dst ${dev_object_store}/${hash_val})
|
||||
check_device_file_exists(${obj_store_dst} obj_store_file_exists)
|
||||
# TODO: Verify that the object store file is indeed hashed correctly. Could use md5.
|
||||
@@ -95,7 +95,7 @@ function(android_push_test_files_to_device)
|
||||
endif()
|
||||
foreach(ex ${arg_no_link_regex})
|
||||
filename_regex(${data_path} ${ex})
|
||||
LIST(APPEND match_ex ${filename_match})
|
||||
list(APPEND match_ex ${filename_match})
|
||||
endforeach()
|
||||
if(match_ex)
|
||||
execute_adb_command(shell cp ${obj_store_dst} ${link_origin})
|
||||
|
||||
Reference in New Issue
Block a user