On Fri, Feb 18, 2011 at 17:16, Michael Wild <them...@gmail.com> wrote:

> Well, cl.exe for one doesn't do this trick. This means, you'll have to
> put it in your build system, and once you've done that, why should you
> use the compiler then? Especially, since you'll want to be consistent
> across platforms.
>

You can use LD_PRELOAD (DLL injection on Windows) to pick up the
dependencies. That has the advantage of automatically working for any
compiler or other custom command, for any source language. Tup does this.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to