[x265] [PATCH ] Install symbol files

mythreyi at multicorewareinc.com mythreyi at multicorewareinc.com
Tue Nov 14 05:18:17 CET 2017


# HG changeset patch
# User Mythreyi P
# Date 1510294573 -19800
#      Fri Nov 10 11:46:13 2017 +0530
# Node ID fa556484e9663a65aabc839f333e0e98fd6f80f2
# Parent  bd438ce108435deb4f0063fca9a9e14a75e8de38
Install symbol files

In debug and RelWithDebInfo configuration, .pdb files are installed.

diff -r bd438ce10843 -r fa556484e966 source/CMakeLists.txt
--- a/source/CMakeLists.txt	Wed Nov 08 16:18:29 2017 +0530
+++ b/source/CMakeLists.txt	Fri Nov 10 11:46:13 2017 +0530
@@ -546,6 +546,10 @@
         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


More information about the x265-devel mailing list