Re: [CMake] Separate compiler and linker pdb

2012-06-23 Thread Yuri Timenkov
I had problems overwriting pdbs when tried to make single pch for several similar projects (targets). I think it could be possible to work-around this issue while preserving current behavior (using policies or extra flags). On Fri, Jun 22, 2012 at 2:03 PM, Michele Santullo

Re: [CMake] Separate compiler and linker pdb

2012-06-22 Thread Michele Santullo
Hello, thanks for your reply. I saw that page already, and I understand cmake needs to work around other people's mistakes, so the fix is not an easy one. My doubt is not about setting a specific path, but about the pdbs ending up in the same spot. Is there any known problem with the pdbs

Re: [CMake] Separate compiler and linker pdb

2012-06-21 Thread Yuri Timenkov
This is a limitation of CMake. There is a discussion at http://public.kitware.com/Bug/view.php?id=11899 On Tue, Jun 19, 2012 at 7:57 PM, Michele Santullo michele.santu...@larian.com wrote: Hello, we recently converted our project to cmake but for some reason, as we generate for VS 2008 on

[CMake] Separate compiler and linker pdb

2012-06-19 Thread Michele Santullo
Hello, we recently converted our project to cmake but for some reason, as we generate for VS 2008 on Windows, we get the same path for both the compiler and the linker generated pdb files. The path is something like /bin/Debug/Project.pdb for both, so they overwrite each other causing