CMake/Tests/PDBDirectoryAndName/check_pdbs.cmake

11 lines
224 B
CMake

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()