<div dir="ltr">Hi folks,<div><br></div><div>A few months later, would anyone have an explanation for this?</div><div><br></div><div>Thank you,</div><div><br></div><div>Carl</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 19, 2016 at 9:07 AM, Carl Poirier <span dir="ltr"><<a href="mailto:carl.poirier.2@gmail.com" target="_blank">carl.poirier.2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi folks,<div><br></div><div>I have a question here regarding the use of the DEBUG_POSTFIX. When I set it as well as the property OUTPUT_NAME, the former is correctly applied to the latter. Now when I try to do so with a library, the DEBUG_POSTFIX does not get applied to the PDB filename. Here are the relevant lines of my CMakeLists.txt:</div><div><br></div><div><div># Set the resulting filenames</div><div>set_target_properties(${<wbr>PrjName1} PROPERTIES COMPILE_PDB_NAME mylib)</div><div>set_target_properties(${<wbr>PrjName1} PROPERTIES OUTPUT_NAME mylib)</div><div><br></div><div># Add "D" postfix for the debug build</div><div>set_target_properties(${<wbr>PrjName1} PROPERTIES DEBUG_POSTFIX "D")</div></div><div><br></div><div>So is there a reason why it works (or doesn't) that way? The best workaround I have now is set the names on a per-configuration basis.</div><div><br></div><div>Regards,</div><div><br></div><div>Carl</div></div>
</blockquote></div><br></div>