[CMake] How to change PDB filename?

Loaden loaden at gmail.com
Sat Sep 8 12:25:02 EDT 2012


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 /Fd"XXX.pdb" for compile, and /PDB:"XXX.pdb" for
link.
It's will given overwriting warning because in cl.cmake

SET(CMAKE_CXX_COMPILE_OBJECT
>     "<CMAKE_CXX_COMPILER> ${CMAKE_START_TEMP_FILE} ${CMAKE_CL_NOLOGO}
> <FLAGS> <DEFINES> /TP /Fo<OBJECT> /Fd<TARGET_PDB> -c
> <SOURCE>${CMAKE_END_TEMP_FILE}")
>
What should I do?
Any comments?
Thanks!

-- 
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120909/0e2009ae/attachment.htm>


More information about the CMake mailing list