COLCON BUILD DOES NOT CREATE .PDB FILES
CMAKE VERSION: 3.12
Building a static library from the source files. Created a package and added the src files in src folder of the package
Cmakelist.txt
file (GLOB abc "src/*.cpp")
add_library (abc STATIC ${abc} " )
set_target_properties(abc PROPERTIES COMPILE_PDB_NAME "abc_pdb")#create pdb files
set_target_properties(abc PROPERTIES COMPILE_PDB_OUTPUT_DIRECTORY "D:/")
Above is the snippet of my cmake list that creates a static lib and it should create a .pdb file along with that.
this creates a lib file but not .pdb file.
Without using COLCON with Visual studio and cmake a .pdb file is created only with colcon build it is not created.
Can anyone help me with this ?