You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
set(ALL_FILES_GLOB "*.tar.gz")
|
|
|
|
function(getPackageContent FILE RESULT_VAR)
|
|
execute_process(COMMAND ${CMAKE_COMMAND} -E tar -ztvf ${FILE}
|
|
OUTPUT_VARIABLE package_content_
|
|
ERROR_QUIET
|
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
|
|
set(${RESULT_VAR} "${package_content_}" PARENT_SCOPE)
|
|
endfunction()
|