Another note: This has to work the same for both release and debug, and for both visual studio and makefile generators.<br><br><div class="gmail_quote">On Wed, Jun 20, 2012 at 12:40 PM, Robert Dailey <span dir="ltr"><<a href="mailto:rcdailey.lists@gmail.com" target="_blank">rcdailey.lists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm looking for the quickest and most natural way to get the final binary name of a target, ideally before add_executable() or add_library() is called (not sure if this is possible).<div>
<br></div><div>For example, if my executable target's output is fubar.exe, I want to get "fubar.exe" in a variable.</div>
<div><br></div><div>Any examples? Thanks.</div>
</blockquote></div><br>