cmake: optionally install pdb's

This commit is contained in:
Anonymous Maarten committed 2023-10-12 02:26:48 +02:00
1 parent 0d5cad91b1
commit 1ae33f6751
3 files changed
+21 -6

No files matched your search

+5
View File
@@ -557,6 +557,11 @@ if(SDL_INSTALL_TESTS)
DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/installed-tests/SDL3
)
endif()
if(MSVC)
foreach(test IN LISTS SDL_TEST_EXECUTABLES)
install(FILES $<TARGET_PDB_FILE:${test}> DESTINATION "${CMAKE_INSTALL_LIBEXECDIR}/installed-tests/SDL3" OPTIONAL)
endforeach()
endif()
install(
FILES ${RESOURCE_FILES}
DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/installed-tests/SDL3