[x265] [PATCH x265-stable] Install symbol files in MinGW

Ashok Kumar Mishra ashok at multicorewareinc.com
Mon Dec 4 09:06:56 CET 2017


Pushed.

On Mon, Dec 4, 2017 at 10:25 AM, Mahesh Pittala <mahesh at multicorewareinc.com
> wrote:

> # HG changeset patch
> # User Mahesh Pittala <mahesh at multicorewareinc.com>
> # Date 1512049185 -19800
> #      Thu Nov 30 19:09:45 2017 +0530
> # Branch stable
> # Node ID 7a3a539c8e12f0facb4186d9db2d227b813409e6
> # Parent  b0d89eaaebcf3534204e054243d402b6cf646234
> Install symbol files in MinGW
>
> In debug and RelWithDebInfo configuration, .pdb files are installed.
>
> diff -r b0d89eaaebcf -r 7a3a539c8e12 source/CMakeLists.txt
> --- a/source/CMakeLists.txt     Wed Nov 29 08:52:18 2017 +0530
> +++ b/source/CMakeLists.txt     Thu Nov 30 19:09:45 2017 +0530
> @@ -548,10 +548,17 @@
>  install(FILES x265.h "${PROJECT_BINARY_DIR}/x265_config.h" DESTINATION
> include)
>
>  if(WIN32)
> -    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(MSVC_IDE)
> +        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)
> +    else()
> +        install(FILES "${PROJECT_BINARY_DIR}/x265.pdb" DESTINATION
> ${BIN_INSTALL_DIR} CONFIGURATIONS Debug)
> +        install(FILES "${PROJECT_BINARY_DIR}/x265.pdb" DESTINATION
> ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo)
> +        install(FILES "${PROJECT_BINARY_DIR}/libx265.pdb" DESTINATION
> ${BIN_INSTALL_DIR} CONFIGURATIONS Debug OPTIONAL NAMELINK_ONLY)
> +        install(FILES "${PROJECT_BINARY_DIR}/libx265.pdb" DESTINATION
> ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo OPTIONAL NAMELINK_ONLY)
> +    endif()
>  endif()
>
>  if(CMAKE_RC_COMPILER)
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20171204/546eb562/attachment.html>


More information about the x265-devel mailing list