changeset 11914:54d8990badc7 draft

Install symbol files In debug and RelWithDebInfo configuration, .pdb files are installed.
author Mythreyi P
date Fri, 10 Nov 2017 11:46:13 +0530
parents c77bbb59c735
children 6774402ac28d
files source/CMakeLists.txt
diffstat 1 files changed, 4 insertions(+-), 1 deletions(-) [+]
line wrap: on
line diff
--- a/source/CMakeLists.txt	Thu Nov 09 13:50:03 2017 +0530
+++ b/source/CMakeLists.txt	Fri Nov 10 11:46:13 2017 +0530
@@ -546,7 +546,10 @@ if(ENABLE_HDR10_PLUS)
         ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
 endif()
 install(FILES x265.h "${PROJECT_BINARY_DIR}/x265_config.h" DESTINATION include)
-
+install(FILES "${PROJECT_BINARY_DIR}/Debug/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug)
+install(FILES "${PROJECT_BINARY_DIR}/RelWithDebInfo/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo)
+install(FILES "${PROJECT_BINARY_DIR}/Debug/libx265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug OPTIONAL NAMELINK_ONLY)
+install(FILES "${PROJECT_BINARY_DIR}/RelWithDebInfo/libx265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo OPTIONAL NAMELINK_ONLY)
 if(CMAKE_RC_COMPILER)
     # The resource compiler does not need CFLAGS or macro defines. It
     # often breaks them