boostorg / boostorg/build

Cannot include a path in Windows shared folder, whose name is started with two slashes

Open
#487 1 comment 0 reactions 0 assignees View on GitHub
transition
Dominant language
C++
Stars
251
Forks
63
PR merge metrics
No merged PRs in 30d

Description

I am editting beast/test/Jamfile to include a path in Windows network shared folder. The format of the path is special, which starts with two slashes. After executing bjam, I only got one backslash in the compilation command, which caused files not found. The path looks like this:
> //something.xxx.com/dir

And bjam generated "-I\something.xxx.com\dir" in the command, which is not what I want. This is my code:
```
import os ;
local REF_ROOT = [ os.environ SHARED_PATH_DEF ] ; #get the shared folder path
local OPENSSL_ROOT = $(REF_ROOT)/OpenSSL/v1.1.1c ;
path-constant OPENSSL_INC32 : $(OPENSSL_ROOT)/Win32/include ;
path-constant OPENSSL_LIB32 : $(OPENSSL_ROOT)/Win32/lib ;
lib lib-test
: lib_test.cpp
: requirements
static
$(defines)
: usage-requirements
./extras/include
$(defines)
;
project /boost/beast/test
: requirements
[ requires
cxx11_constexpr
cxx11_decltype
cxx11_hdr_tuple
#cxx11_sfinae_expr # Every MSVC fails this
cxx11_template_aliases
cxx11_variadic_templates
]
./extern
BOOST_BEAST_ALLOW_DEPRECATED
BOOST_BEAST_TESTS
/boost/beast//lib-asio/static
/boost/beast//lib-beast/static
/boost/filesystem//boost_filesystem
/boost/coroutine//boost_coroutine
$(OPENSSL_INC32) $(OPENSSL_LIB32)
;
```
Does bjam support including path with two continuous slashes? Could somebody help me out? Thanks a lot!!!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.