<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2014-12-10 13:29 GMT+03:00 Sergei Nikulov <span dir="ltr"><<a href="mailto:sergey.nikulov@gmail.com" target="_blank">sergey.nikulov@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2014-12-10 2:38 GMT+03:00 Walter Gray <span dir="ltr"><<a href="mailto:chrysalisx@gmail.com" target="_blank">chrysalisx@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hey all,<br>
    I'm working on a module that will allow me to automatically copy all
    the required .dll files as defined by well-formed import library
    targets to the appropriate location (same folder for windows,
    Frameworks folder for OSX bundle, ect).  I've got the code that
    scans an executable's INTERFACE_LINK_LIBRARIES property recursively
    to find all such shared library, however I'm running into a small
    problem.  I really like using file globbing in higher level source
    directories to add all appropriate sub-directories, but this means
    that sometimes a dependency will not be fully defined yet. This is
    normally fine since these things are usually resolved at
    *generation* time, but since I'm doing a manual traversal of the
    list of link libraries at config time that's not really acceptable. 
    I realize I could just not do the globbing and just make sure the
    directories were setup in the correct order, but I really don't like
    making the add_subdirectory calls order dependent.<br></div></div></div></blockquote></div><span class=""><font color="#888888"></font></span></div></blockquote><div><br></div><div>Sorry for  empty email.<br><br></div><div>Instead of globbing you can set single place for all project binary output<br><br></div><div>set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/dist)<br><br></div><div>Or whatever other place instead of top project folder.<br></div><div><br></div></div><br>-- <br><div class="gmail_signature">Best Regards,<br>Sergei Nikulov</div>
</div></div>