[Scons-users] "install" with link?

Francis Bolduc fbolduc at gmail.com
Fri Sep 14 08:32:31 EDT 2012

I guess one could easily make a custom builder that does that. Something like:

env['BUILDERS']['InstallLink'] = env.Builder("ln -s $SOURCE $TARGET")
env.InstallLink(file, target)

Francis Bolduc, B.Sc.

On Thu, Sep 13, 2012 at 7:02 PM, Joanne Bogart <jrb at slac.stanford.edu> wrote:

> Hi,

> We install various files needed at run-time. On Linux platforms we also

> install headers, however this means that the copy of a header which a

> developer sees in gdb is not necessarily the right one to modify. Just as

> --duplicate allows me to specify how files should be duplicated in the build

> tree; I would like some feature which would let me tell Install( ) whether

> copy, symbolic link or hard link should be used. Probably it should be

> specifiable per Install( ) instead of or in addition to a global switch. Is

> there some feature like this that I missed? If not, could it be added?


> thanks,

> Joanne


> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

More information about the Scons-users mailing list