Re: [CMake] How to change PDB filename?

2012-09-21 Thread Loaden
I find a dirty way, but it does not work with Ninja generator. function(fix_msvc_pch_shared_problem targetSelf targetBinary) if (${targetSelf} STREQUAL ${targetBinary}) return() endif() # NOTE: Dirty hack! until to find other way get_filename_component(pdbpath

[CMake] How to change PDB filename?

2012-09-08 Thread Loaden
Hi, all! I was googled about how to change the PDB file name. it seems the PDB name still hardcode in cmTarget.cxx? There exist any way to change the PDB filename for now? I don't want to adding /FdXXX.pdb for compile, and /PDB:XXX.pdb for link. It's will given overwriting warning because in