Просмотр исходного кода

TARGET_RUNTIME_DLLS: minor refactoring of shared-check.cmake

Renamed variables and text which mentions dlls to items, since
we can use this check also for testing the directories.
Alexander Neundorf 2 лет назад
Родитель
Сommit
aa68de0a27
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared-check.cmake

+ 6 - 6
Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared-check.cmake

@@ -1,12 +1,12 @@
 function(check_genex expected actual)
   if(NOT expected STREQUAL actual)
-    string(APPEND RunCMake_TEST_FAILED "Expected DLLs:\n")
-    foreach(dll IN LISTS expected)
-      string(APPEND RunCMake_TEST_FAILED "  ${dll}\n")
+    string(APPEND RunCMake_TEST_FAILED "Expected items:\n")
+    foreach(item IN LISTS expected)
+      string(APPEND RunCMake_TEST_FAILED "  ${item}\n")
     endforeach()
-    string(APPEND RunCMake_TEST_FAILED "Actual DLLs:\n")
-    foreach(dll IN LISTS actual)
-      string(APPEND RunCMake_TEST_FAILED "  ${dll}\n")
+    string(APPEND RunCMake_TEST_FAILED "Actual items:\n")
+    foreach(item IN LISTS actual)
+      string(APPEND RunCMake_TEST_FAILED "  ${item}\n")
     endforeach()
   endif()
   set(RunCMake_TEST_FAILED "${RunCMake_TEST_FAILED}" PARENT_SCOPE)