blob: 76c61b7459182f60da69fc794f2f9d3b0d2ebb2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# file : build/export.build
# license : MIT; see accompanying LICENSE file
if ($import.target == exe{b})
{
$out_root/
{
include build2/
}
export $out_root/build2/exe{b}
}
else
{
$out_root/
{
include libbuild2/
}
d = [dir_path] $out_root/libbuild2/
if ($name($import.target) != 'build2')
{
# Assume one of the modules.
#
d += $regex.replace($name($import.target), '^build2-(.+)', '\1')
}
export $d/$import.target
}
|