Boost logo

Boost-Build :

From: Jurko Gospodnetiæ (jurko.gospodnetic_at_[hidden])
Date: 2008-08-21 19:23:19

   Hi Daniel.

   Thanks for testing this!

>> Could someone who has the doc build toolset set up test the following Boost
>> Jam documentation patch? It adds the missing documentation for the so far
>> undocumented :T variable expansion modifier.
> This line seems to be misplaced? It causes an error.
>> + :T -- convert "\" to "/"

   Bah... this was a shot-in-the-dark patch... :-( Unfortunately I never
managed to get the documentation toolset set up correctly on my notebook
and do not know .qbk format so I just copy/pasted a neighboarhood
paragraph and modified it.

> The double backslashes are preserved on this line - I assume that's intentional.
>> + x = "C:\\Program Files\\Borland" ; ECHO $(x:T) ;

   That seems fine since in Jamfiles you actually need to double the
backslashes or they get interpreted as escape characters - similar to
how C/C++ does it.

   Is there any chance you could perhaps fix this patch so it
'compiles'? The feature it describes could actually help you with what
you want to do in the other thread. I'll reply there regarding that use
but here I just wanted to document that expanding a variable using the
:T variable expansion modifier will automatically convert all
backslashes in a variable into forward slashes.

   Many thanks.

   Best regards,
     Jurko Gospodnetiæ

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at