# Copyright 2012 Steven Watanabe
# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+# (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)
import os ;
import targets ;
if [ configure.try-build $(target) : [ property-set.empty ] : "symlinks supported" ]
{
.can-symlink = true ;
- }
+ }
else
{
.can-symlink = false ;
if [ configure.try-build $(target) : [ property-set.empty ] : "junctions supported" ]
{
.can-junction = true ;
- }
+ }
else
{
.can-junction = false ;
if [ configure.try-build $(target) : [ property-set.empty ] : "hardlinks supported" ]
{
.can-hardlink = true ;
- }
+ }
else
{
.can-hardlink = false ;
property-set = [ property-set.create <location>$(path) ] ;
}
-
+
local a = [ new non-scanning-action $(source-target) :
link.do-link-recursively : $(property-set) ] ;
-
+
local t = [ new notfile-target $(name)
: $(self.project) : $(a) ] ;