Boost logo

Boost-Build :

Subject: [Boost-build] Difficulties with install-source-root on Windows
From: Mikhail Strelnikov (mikhail.strelnikov_at_[hidden])
Date: 2017-09-24 05:54:02


Hi,

I'm trying to use install-source-root described here -
http://www.boost.org/build/doc/html/bbv2/tasks/installing.html, but b2
fails while creating directory "F:\i\..\F:\o".

Here is my Jamroot:

import common ;
path-constant INSTALL_TO : [ modules.peek : INSTALL_TO ] ;
project test1 ;
make a/b/c : d/e/f : @common.copy ;
install files : a/b/c : <location>$(INSTALL_TO) <install-source-root>a ;

Command line:

b2.exe -sBOOST_ROOT=%the_boost% -sINSTALL_TO=F:\i --build-dir=F:\o

Output:

copy F:\o\test1\clang-vc14-gnu-linux-6.0\debug\a\b\c
d\e\f
        1 file(s) copied.
common.mkdir F:\i
common.mkdir F:\i\..\F:\o
The filename, directory name, or volume label syntax is incorrect.

        if not exist "F:\i\..\F:\o\\" mkdir "F:\i\..\F:\o"

Any clue how to solve this?

Here is archive to play with:
https://drive.google.com/file/d/0B8dyret2uxtkQ3EwMDJtMEp2VXc/view?usp=sharing

Thanks.


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