|
Boost-Build : |
Subject: Re: [Boost-build] UNC path for library search path
From: Jim Gallagher (jim_at_[hidden])
Date: 2012-08-28 18:40:24
Sorry to revive such an old thread, but my work around is running out of
steam....
Boost build appears to think that UNC paths are actually full local paths
with an extra '\' at the front. I set "-d6" and ran a test in my project;
here is a snippet that shows ( I think) where the path gets changed (the
leading numbers are the line numbers of the output). The leading \\
disappears at line 1367019.
Tested with Boost Build included with Boost 1.49.0.
Any suggestions appreciated.
Thanks,
Jim Gallagher
1366983 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:1269:>>>>|>>>>|>>>>|>
generate-dependencies
\\sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
: object(property-set)@3639 : source-targets usage-requirements
1366984 build file:
1366985 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:1213:>>>>|>>>>|>>>>|>>> local
grist =
1366986 build file: dir = '\\sambaserver.mydomain.com\vendorlib\win32\lib'
base = 'vendor_main'
1366987 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:1214:>>>>|>>>>|>>>>|>>> local
id = \\sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
1366988 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:1217:>>>>|>>>>|>>>>|>>>
targets.generate-from-reference
\\sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
: object(project-target)@16 : object(property-set)@3639
1366989 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:833:>>>>|>>>>|>>>>|>>>>|
resolve-reference
\\sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
: object(project-target)@16
1366990 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:806:>>>>|>>>>|>>>>|>>>>|>>
MATCH ^([^<]*)(/(<.*))?$ : \\sambaserver.mydomain.com
\vendorlib\win32\lib\vendor_main.obj
1366991 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:806:>>>>|>>>>|>>>>|>>>>|>>
local split = \\sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
1366992 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:807:>>>>|>>>>|>>>>|>>>>|>>
local id = \\sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
1366993 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:808:>>>>|>>>>|>>>>|>>>>|>>
local sproperties =
1366994 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:816:>>>>|>>>>|>>>>|>>>>|>>
object(project-target)@16.find \\sambaserver.mydomain.com
\vendorlib\win32\lib\vendor_main.obj
1366995 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:432:>>>>|>>>>|>>>>|>>>>|>>>>
local v =
1366996 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:435:>>>>|>>>>|>>>>|>>>>|>>>>
find-really \\sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
1366997 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:357:>>>>|>>>>|>>>>|>>>>|>>>>|>
local result =
1366998 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:358:>>>>|>>>>|>>>>|>>>>|>>>>|>
get location
1366999 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:226:>>>>|>>>>|>>>>|>>>>|>>>>|>>>
project.attribute Jamfile</M:/projroot/ba3/src> location
1367000 N:/Shared Developer
Resources/JimG/boost-build/build\project.jam:743:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
object(project-attributes)@15.get location
1367001 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:358:>>>>|>>>>|>>>>|>>>>|>>>>|>
local current-location = .
1367002 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:360:>>>>|>>>>|>>>>|>>>>|>>>>|>
MATCH (.*)//(.*) : \\sambaserver.mydomain.com
\vendorlib\win32\lib\vendor_main.obj
1367003 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:360:>>>>|>>>>|>>>>|>>>>|>>>>|>
local split =
1367004 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:361:>>>>|>>>>|>>>>|>>>>|>>>>|>
local project-part =
1367005 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:362:>>>>|>>>>|>>>>|>>>>|>>>>|>
local target-part =
1367006 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:364:>>>>|>>>>|>>>>|>>>>|>>>>|>
local extra-error-message =
1367007 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:397:>>>>|>>>>|>>>>|>>>>|>>>>|>
main-target \\sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
1367008 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:397:>>>>|>>>>|>>>>|>>>>|>>>>|>
set result =
1367009 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:402:>>>>|>>>>|>>>>|>>>>|>>>>|>
path.make \\sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
1367010 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:44:>>>>|>>>>|>>>>|>>>>|>>>>|>>>
make-NT \\sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
1367011 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:495:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
local result =
1367012 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:497:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
version.check-jam-version 3 1 17
1367013 N:/Shared Developer
Resources/JimG/boost-build/build\version.jam:105:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>
local version-tag = 3.1.17
1367014 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:499:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
NORMALIZE_PATH \\sambaserver.mydomain.com
\vendorlib\win32\lib\vendor_main.obj
1367015 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:499:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
set result = /sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367016 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:515:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
regex.match (^.:) : \\sambaserver.mydomain.com
\vendorlib\win32\lib\vendor_main.obj
1367017 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:58:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>
set indices ?= 1 2 3 4 5 6 7 8 9
1367018 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:59:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>
MATCH (^.:) : \\sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
1367019 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:59:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>
local x =
1367020 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:403:>>>>|>>>>|>>>>|>>>>|>>>>|>
class.new file-reference /
sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj :
object(project-target)@16
1367021 N:/Shared Developer
Resources/JimG/boost-build/kernel\class.jam:81:>>>>|>>>>|>>>>|>>>>|>>>>|>>>
set .next-instance ?= 1
1367022 N:/Shared Developer
Resources/JimG/boost-build/kernel\class.jam:82:>>>>|>>>>|>>>>|>>>>|>>>>|>>>
local id = object(file-reference)@3640
1367023 N:/Shared Developer
Resources/JimG/boost-build/kernel\class.jam:84:>>>>|>>>>|>>>>|>>>>|>>>>|>>>
xinit object(file-reference)@3640 : file-reference
1367024 N:/Shared Developer
Resources/JimG/boost-build/kernel\class.jam:73:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
set __class__ = file-reference
1367025 N:/Shared Developer
Resources/JimG/boost-build/kernel\class.jam:74:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
set __name__ = object(file-reference)@3640
1367026 N:/Shared Developer
Resources/JimG/boost-build/kernel\class.jam:86:>>>>|>>>>|>>>>|>>>>|>>>>|>>>
INSTANCE object(file-reference)@3640 : class_at_file-reference
1367027 N:/Shared Developer
Resources/JimG/boost-build/kernel\class.jam:87:>>>>|>>>>|>>>>|>>>>|>>>>|>>>
IMPORT_MODULE object(file-reference)@3640
1367028 N:/Shared Developer
Resources/JimG/boost-build/kernel\class.jam:88:>>>>|>>>>|>>>>|>>>>|>>>>|>>>
object(file-reference)@3640.__init__ /
sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj :
object(project-target)@16 : : : : : : :
1367029 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:759:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
abstract-target.__init__ /
sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj :
object(project-target)@16
1367030 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:102:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>
set self.name = /
sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367031 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:103:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>
set self.project = object(project-target)@16
1367032 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:104:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>
errors.nearest-user-location
1367033 N:/Shared Developer
Resources/JimG/boost-build/kernel\errors.jam:239:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>
NEAREST_USER_LOCATION
1367034 N:/Shared Developer
Resources/JimG/boost-build/kernel\errors.jam:239:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>
local r =
1367035 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:104:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>
set self.location =
1367036 N:/Shared Developer
Resources/JimG/boost-build/kernel\class.jam:91:>>>>|>>>>|>>>>|>>>>|>>>>|>>>
numbers.increment 3640
1367037 N:/Shared Developer
Resources/JimG/boost-build/util\numbers.jam:30:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
CALC 3640 + 1
1367038 N:/Shared Developer
Resources/JimG/boost-build/kernel\class.jam:91:>>>>|>>>>|>>>>|>>>>|>>>>|>>>
set .next-instance = 3641
1367039 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:402:>>>>|>>>>|>>>>|>>>>|>>>>|>
set result = object(file-reference)@3640
1367040 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:404:>>>>|>>>>|>>>>|>>>>|>>>>|>
object(file-reference)@3640.exists
1367041 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:771:>>>>|>>>>|>>>>|>>>>|>>>>|>>>
location
1367042 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:780:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
object(project-target)@16.get source-location
1367043 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:226:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>
project.attribute Jamfile</M:/projroot/ba3/src> source-location
1367044 N:/Shared Developer
Resources/JimG/boost-build/build\project.jam:743:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>
object(project-attributes)@15.get source-location
1367045 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:780:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
local source-location = .
1367046 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:785:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
path.root /sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj .
1367047 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:201:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>
is-rooted /sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367048 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:60:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>
MATCH ^(/) : /sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367049 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:785:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
local location = /
sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367050 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:786:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
path.native /sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367051 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:52:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>
native-NT /sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367052 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:526:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>
local result =
1367053 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:527:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>
is-rooted /sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367054 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:60:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
MATCH ^(/) : /sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367055 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:527:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>
regex.match ^/(.:) : /
sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367056 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:58:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set indices ?= 1 2 3 4 5 6 7 8 9
1367057 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:59:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
MATCH ^/(.:) : /sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367058 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:59:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
local x =
1367059 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:529:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>
set result = /sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367060 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:535:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>
regex.split /sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj /
1367061 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:18:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
local result =
1367062 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:19:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
local s = /sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367063 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:22:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
local match = 1
1367064 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
MATCH ^(.*)(/)(.*) : /
sambaserver.mydomain.com/vendorlib/win32/lib/vendor_main.obj
1367065 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match = /sambaserver.mydomain.com/vendorlib/win32/lib / vendor_main.obj
1367066 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:28:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match +=
1367067 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:29:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set result = vendor_main.obj
1367068 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:30:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set s = /sambaserver.mydomain.com/vendorlib/win32/lib
1367069 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
MATCH ^(.*)(/)(.*) : /sambaserver.mydomain.com/vendorlib/win32/lib
1367070 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match = /sambaserver.mydomain.com/vendorlib/win32 / lib
1367071 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:28:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match +=
1367072 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:29:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set result = lib vendor_main.obj
1367073 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:30:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set s = /sambaserver.mydomain.com/vendorlib/win32
1367074 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
MATCH ^(.*)(/)(.*) : /sambaserver.mydomain.com/vendorlib/win32
1367075 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match = /sambaserver.mydomain.com/vendorlib / win32
1367076 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:28:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match +=
1367077 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:29:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set result = win32 lib vendor_main.obj
1367078 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:30:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set s = /sambaserver.mydomain.com/vendorlib
1367079 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
MATCH ^(.*)(/)(.*) : /sambaserver.mydomain.com/vendorlib
1367080 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match = /sambaserver.mydomain.com/vendorlib / 8.3.3.3
1367081 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:28:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match +=
1367082 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:29:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set result = 8.3.3.3 win32 lib vendor_main.obj
1367083 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:30:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set s = /sambaserver.mydomain.com/vendorlib
1367084 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
MATCH ^(.*)(/)(.*) : /sambaserver.mydomain.com/vendorlib
1367085 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match = /sambaserver.mydomain.com / vendorlib
1367086 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:28:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match +=
1367087 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:29:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set result = vendorlib win32 lib vendor_main.obj
1367088 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:30:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set s = /sambaserver.mydomain.com
1367089 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
MATCH ^(.*)(/)(.*) : /sambaserver.mydomain.com
1367090 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match = / sambaserver.mydomain.com
1367091 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:28:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match +=
1367092 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:29:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set result = sambaserver.mydomain.com vendorlib win32 lib vendor_main.obj
1367093 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:30:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set s =
1367094 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
MATCH ^(.*)(/)(.*) :
1367095 N:/Shared Developer
Resources/JimG/boost-build/util\regex.jam:25:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set match =
1367096 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:535:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>
sequence.join sambaserver.mydomain.com vendorlib win32 lib vendor_main.obj
: \
1367097 N:/Shared Developer
Resources/JimG/boost-build/util\sequence.jam:160:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set joint ?=
1367098 N:/Shared Developer
Resources/JimG/boost-build/util\path.jam:535:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>
set result = \sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
1367099 N:/Shared Developer
Resources/JimG/boost-build/build\targets.jam:786:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|
CHECK_IF_FILE \sambaserver.mydomain.com\vendorlib\win32\lib\vendor_main.obj
On Wed, Jul 13, 2011 at 4:21 AM, Vladimir Prus <ghost_at_[hidden]> wrote:
> On Wednesday, July 06, 2011 21:17:45 Jim Gallagher wrote:
> > Hi,
> >
> > We've got a bunch of third party libraries that we link against stored
> > on a file share. We would prefer to refer to the share using the UNC
> > convention, \\server\share\path, but this does not seem to work.
> >
> > We've defined the libs in Jamroot like so:
> >
> > import os ;
> >
> > constant LIBSHARE : [ os.environ LIBSHARE ] ;
> >
> > lib libfoo : : <target-os>windows <search>$(LIBSHARE)/lib ;
> >
> >
> > As sample setting for LIBSHARE looks like
> > "//myserver.company.com/share/version/win32". Running a build that has
> > libfoo as a dependency results in /LIBPATH:"..\..\.." being passed to
> > the linker, which is clearly wrong. If we map the share to a drive
> > letter, it does work correctly.
>
> I did not work with UNC paths when compiling, so what is exactly wrong?
> The direction of the paths? Something else?
>
>
> --
> Vladimir Prus
> http://vladimir_prus.blogspot.com
> Boost.Build: http://boost.org/boost-build2
>
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk