[Scons-users] symlink builder
Mark Diekhans
markd at kermodei.com
Thu Mar 2 12:18:57 EST 2017
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.
Cheers
Mark
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 to
> duplicate files using the mechanisms in the specified order.
More information about the Scons-users
mailing list