You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Built googletest using the CMake-based build system on Windows. Then installed it using a prefix. Was expecting PDBs to be copied alongside the static libraries under the lib folder, but they weren't.
Steps to reproduce the problem
googletest checked out to c:\tmp\googletest, cwd is c:\tmp
Expected gtest.pdb at c:\tmp\artifacts_x64\lib\ - but not found.
What version of GoogleTest are you using?
v1.15.0
What operating system and version are you using?
Windows 10 19045.4780
What compiler and version are you using?
Microsoft (R) C/C++ Optimizing Compiler Version 19.38.33135 for x64
(shipped with VS 2022 17.8.7)
What build system are you using?
cmake version 3.24.2
Additional context
Looks like this got broken by this pull request: #3940, which (correctly I suppose) rearranged where PDBs are put when building, but forgot to update this CMake install step near the end of the file: https://github.com/google/googletest/blob/main/googletest/cmake/internal_utils.cmake#L316. My suspicion is though that fixing that one line will fix the PDB install problem for static libraries, but break it for other binaries, so it doesn't look like quite the correct fix.
The text was updated successfully, but these errors were encountered:
Describe the issue
Built googletest using the CMake-based build system on Windows. Then installed it using a prefix. Was expecting PDBs to be copied alongside the static libraries under the
lib
folder, but they weren't.Steps to reproduce the problem
googletest checked out to c:\tmp\googletest, cwd is c:\tmp
Expected gtest.pdb at c:\tmp\artifacts_x64\lib\ - but not found.
What version of GoogleTest are you using?
v1.15.0
What operating system and version are you using?
Windows 10 19045.4780
What compiler and version are you using?
Microsoft (R) C/C++ Optimizing Compiler Version 19.38.33135 for x64
(shipped with VS 2022 17.8.7)
What build system are you using?
cmake version 3.24.2
Additional context
Looks like this got broken by this pull request: #3940, which (correctly I suppose) rearranged where PDBs are put when building, but forgot to update this CMake install step near the end of the file: https://github.com/google/googletest/blob/main/googletest/cmake/internal_utils.cmake#L316. My suspicion is though that fixing that one line will fix the PDB install problem for static libraries, but break it for other binaries, so it doesn't look like quite the correct fix.
The text was updated successfully, but these errors were encountered: