cmake/Tests/UseSWIG/NamespaceCsharp/ValidateSupportFiles.cmake
2021-09-14 00:13:48 +02:00

9 lines
300 B
CMake

file (GLOB_RECURSE files LIST_DIRECTORIES TRUE RELATIVE "${SUPPORT_FILES_DIRECTORY}" "${SUPPORT_FILES_DIRECTORY}/*")
list(SORT files)
if (NOT files STREQUAL "NSExample.cs;NSExamplePINVOKE.cs;ns;ns/my_class_in_namespace.cs")
message (FATAL_ERROR "Support files not correctly collected.")
endif()