[Scons-users] symlink builder
bill at baddogconsulting.com
Thu Mar 2 12:24:10 EST 2017
So you're symlinking from a source dir to a variant dir explicitly, but
only for one directory?
On Thu, Mar 2, 2017 at 9:18 AM, Mark Diekhans <markd at kermodei.com> wrote:
> Thanks Bill,
> Yes, I am using --duplicate=0. We specifically want to only
> symlink one directory, not duplicated anything. That is, a
> symbolic link to treated as a first class file thought the build
> and install process.
> We have a hacky working around using Command, however it will not
> do the right thing if the value of the symlink changed.
> From: Bill Deegan <bill at baddogconsulting.com>
> > Are you using duplicate=0?
> > I guess why are the files real files in your variant dir?
> > >From manpage:
> > --duplicate=*ORDER*
> > There are three ways to duplicate files in a build tree: hard links, soft
> > (symbolic) links and copies. The default behaviour of SCons is to prefer
> > hard links to soft links to copies. You can specify different behaviours
> > with this option. *ORDER* must be one of *hard-soft-copy* (the default),
> > *soft-hard-copy*, *hard-copy*, *soft-copy* or *copy*. SCons will attempt
> > duplicate files using the mechanisms in the specified order.
> Scons-users mailing list
> Scons-users at scons.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scons-users