Home > Mobile >  How to change the location of .pdb files for static libraries?
How to change the location of .pdb files for static libraries?

Time:02-11

Now I found out I can change the .pdb file location for C executable projects in Linking -> Debugger in the project settings.

How can I change the location for static library projects? As they do not have the Linker menu.

I tried changing C/C -> Output files -> Program Database File Name, but without luck. They are still added to the same directory as the compiled executable.

CodePudding user response:

After changing the Program Database File Name, pdb will be added to the specified directory. In addition, if the lib file directories are not changed, another pdb file will also be added aside the lib. This may be why you think it was unsuccessful, but in fact it has been done.

  • Related