summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/InstallMSYS2.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeScripts/InstallMSYS2.cmake')
-rw-r--r--CMakeScripts/InstallMSYS2.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeScripts/InstallMSYS2.cmake b/CMakeScripts/InstallMSYS2.cmake
index 74135d250..ba3ec6309 100644
--- a/CMakeScripts/InstallMSYS2.cmake
+++ b/CMakeScripts/InstallMSYS2.cmake
@@ -270,4 +270,16 @@ if(WIN32)
EXCLUDE "^\\.\\.\\/" # exclude content in parent directories (notably scripts installed to /bin)
)
endforeach()
+
+ # gdb
+ install(FILES
+ ${MINGW_BIN}/gdb.exe
+ ${MINGW_BIN}/libreadline8.dll
+ DESTINATION bin)
+ install(DIRECTORY
+ ${MINGW_PATH}/share/gdb
+ DESTINATION share)
+ install(FILES
+ packaging/win32/gdb_create_backtrace.bat
+ DESTINATION bin)
endif()