1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00
Files
CMake/Tests/UseSWIG/NamespaceCsharp/ValidateSupportFiles.cmake
2020-08-04 16:19:10 +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()