aboutsummaryrefslogtreecommitdiff
path: root/build/export.build
blob: 484795092c27af7fb0745179d8809ee75406f026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# file      : build/export.build
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

if ($import.target == exe{b})
{
  $out_root/
  {
    include build2/
  }

  export $out_root/build2/exe{b}
}
elif ($import.target == lib{build2})
{
  $out_root/
  {
    include libbuild2/
  }

  export $out_root/libbuild2/lib{build2}
}