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.
20 lines
546 B
20 lines
546 B
3 years ago
|
set(SATU "/satu;/satu/CMakeLists.txt")
|
||
|
set(DUA "/dua;/dua/CMakeLists.txt")
|
||
|
|
||
|
if(GENERATOR_TYPE STREQUAL ZIP)
|
||
|
set(_ext "zip")
|
||
|
elseif(GENERATOR_TYPE STREQUAL TGZ)
|
||
|
set(_ext "tar.gz")
|
||
|
endif()
|
||
|
|
||
|
if(PACKAGING_TYPE STREQUAL "COMPONENT")
|
||
|
set(EXPECTED_FILES_COUNT "2")
|
||
|
set(EXPECTED_FILE_1 "*-satu.${_ext}")
|
||
|
set(EXPECTED_FILE_CONTENT_1_LIST ${SATU})
|
||
|
set(EXPECTED_FILE_2 "*-dua.${_ext}")
|
||
|
set(EXPECTED_FILE_CONTENT_2_LIST ${DUA})
|
||
|
else()
|
||
|
set(EXPECTED_FILES_COUNT "1")
|
||
|
set(EXPECTED_FILE_CONTENT_1_LIST ${SATU} ${DUA})
|
||
|
endif()
|