mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 22:50:25 -05:00
Copy Qt pdb files to the build folder when present
Qt is distributed both with and without pdb files. When they are present, copy them next to the Qt dlls so symbols are available when debugging. Pass --pdb to windeployqt for the configurations built with debug information, and copy the matching pdb file in the AppFwk test applications and unit tests using a helper script that skips missing files.
This commit is contained in:
1 parent
71c0f0e70f
commit
c9d118f2de
5 files changed
+54
-1
No files matched your search
@@ -396,7 +396,8 @@ if(RESINSIGHT_PRIVATE_INSTALL)
|
||||
POST_BUILD
|
||||
COMMAND
|
||||
${WINDEPLOYQT_EXECUTABLE} $<TARGET_FILE:ResInsight>
|
||||
"$<IF:$<CONFIG:Debug>,--debug,--release>" --no-translations >NUL 2>NUL
|
||||
"$<IF:$<CONFIG:Debug>,--debug,--release>"
|
||||
"$<$<CONFIG:Debug,RelWithDebInfo>:--pdb>" --no-translations >NUL 2>NUL
|
||||
COMMENT
|
||||
"Running windeployqt to deploy Qt dependencies to the build folder, required by install()"
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user