boostorg / boostorg/build

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

Aperta
#487 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
transition
Lingua principale
C++
Stelle
251
Fork
63
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!!!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.