RelWithDebInfo build does not copy pdb files into install folder with Visual Studio #5577
Open
1 task done
Labels
triage
Issue pending classification
Is there an already existing issue for this?
Expected behavior
The CMake RelWithDebInfo build target is for building a Release build with debug information. With Visual Studio, debug information is stored in separate pdb files.
The build deliverables including the pdb files must be stored in to the install\XXXX folder (XXXX is the target, i.e. fastdds,fastcdr,...).
Current behavior
For Debug builds these pdb files are copied in to the install\XXXX\lib folder.
For RelWithDebInfo builds pdb files are generated but NOT copied in to the install\XXXX\lib folder.
Steps to reproduce
Just build with RelWithDebInfo.
colcon build --cmake-args " -DCMAKE_BUILD_TYPE=RelWithDebInfo" --packages-up-to fastdds
No pdb files are generated in the install\XXXX\lib folder.
The pdb files are generated in the build\XXXX\src\cpp\RelWithDebInfo folder.
Fast DDS version/commit
Platform/Architecture
Windows 10 Visual Studio 2019
Transport layer
Default configuration, UDPv4 & SHM
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
The text was updated successfully, but these errors were encountered: