File tree Expand file tree Collapse file tree
share/rocmcmakebuildtools/cmake Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# ######################################################################################################################
2- # Copyright (C) 2017 Advanced Micro Devices, Inc.
2+ # Copyright (C) 2026 Advanced Micro Devices, Inc.
33# ######################################################################################################################
44
55cmake_policy (SET CMP0057 NEW )
@@ -233,6 +233,13 @@ function(rocm_install_targets)
233233 DESTINATION ${LIB_INSTALL_DIR}
234234 COMPONENT ${development}
235235 )
236+ if (WIN32 AND
237+ (T_TYPE STREQUAL "SHARED_LIBRARY" OR
238+ T_TYPE STREQUAL "MODULE_LIBRARY" OR
239+ T_TYPE STREQUAL "EXECUTABLE" ))
240+ install (FILES $<TARGET_PDB_FILE :${TARGET} >
241+ DESTINATION ${BIN_INSTALL_DIR} OPTIONAL )
242+ endif ()
236243 rocm_set_install_dir_property (
237244 TARGETS ${TARGET}
238245 RUNTIME_DESTINATION ${BIN_INSTALL_DIR}
You can’t perform that action at this time.
0 commit comments