diff options
Diffstat (limited to 'build/export.build')
-rw-r--r-- | build/export.build | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/build/export.build b/build/export.build index 427f76b..e7dfa5b 100644 --- a/build/export.build +++ b/build/export.build @@ -1,9 +1,35 @@ # file : build/export.build # license : MIT; see accompanying LICENSE file -$out_root/ +switch $name($import.target) { - include libbutl/ -} + case 'butl-odb' + { + $out_root/ + { + include libbutl-odb/ + } + + export $out_root/libbutl-odb/$import.target + } + + case 'butl-pkg-config' + { + $out_root/ + { + include libbutl-pkg-config/ + } -export $out_root/libbutl/lib{butl} + export $out_root/libbutl-pkg-config/$import.target + } + + default + { + $out_root/ + { + include libbutl/ + } + + export $out_root/libbutl/$import.target + } +} |