summaryrefslogtreecommitdiff
path: root/Tests/PDBDirectoryAndName/check_pdbs.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/PDBDirectoryAndName/check_pdbs.cmake')
-rw-r--r--Tests/PDBDirectoryAndName/check_pdbs.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/PDBDirectoryAndName/check_pdbs.cmake b/Tests/PDBDirectoryAndName/check_pdbs.cmake
new file mode 100644
index 000000000..89cdb3c72
--- /dev/null
+++ b/Tests/PDBDirectoryAndName/check_pdbs.cmake
@@ -0,0 +1,10 @@
+if(NOT "${config}" MATCHES "[Dd][Ee][Bb]")
+ return()
+endif()
+foreach(pdb ${pdbs})
+ if(EXISTS "${pdb}")
+ message(STATUS "PDB Exists: ${pdb}")
+ else()
+ message(SEND_ERROR "PDB MISSING: ${pdb}")
+ endif()
+endforeach()