Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 2 additions & 18 deletions Jamroot.jam
Original file line number Diff line number Diff line change
Expand Up @@ -183,25 +183,9 @@ add-install-dir b2bindir-portable : : b2prefix-portable ;
add-install-dir b2coredir-portable : .b2 : b2prefix-portable ;
add-install-dir b2examplesdir-portable : .b2/examples : b2prefix-portable ;

rule b2-exe ( props * )
{
local target-os = [ feature.get-values <target-os> : $(props) ] ;
local host-os = [ feature.get-values <host-os> : $(props) ] ;
if $(target-os) != $(host-os)
{
return <source>b2 ;
}
else if $(target-os) in windows vms
{
return <source>src/engine/b2.exe ;
}
return <source>src/engine/b2 ;
}

install b2-engine
:
: <conditional>@b2-exe
<b2-install-layout>standard:<location>(b2bindir-standard)
: b2
: <b2-install-layout>standard:<location>(b2bindir-standard)
<b2-install-layout>portable:<location>(b2bindir-portable)
;
explicit b2-engine ;
Expand Down
Loading