[Scons-users] "install" with link?
jrb at slac.stanford.edu
Tue Sep 18 17:52:34 EDT 2012
Yes, roughly. I probably need something a little more complicated so
that the behavior will be different on Windows, I just wanted to be
sure it wasn't already lying around somewhere.
On 09/14/2012 05:32 AM, Francis Bolduc wrote:
> 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:
>> 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?
>> Scons-users mailing list
>> Scons-users at scons.org
> Scons-users mailing list
> Scons-users at scons.org
More information about the Scons-users