aboutsummaryrefslogtreecommitdiff
path: root/load/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-08-01 20:03:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-08-07 19:01:06 +0300
commit7db53790ca2d2c004bfd00b503eca59a8d084870 (patch)
tree5f6201d48322043e1f2802efddb28e5643a2dab7 /load/buildfile
parentee220058d977738c02ead45cc5567bbab33adf48 (diff)
Add support for loading package version reviews
Diffstat (limited to 'load/buildfile')
-rw-r--r--load/buildfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/load/buildfile b/load/buildfile
index 4278f20..51b374d 100644
--- a/load/buildfile
+++ b/load/buildfile
@@ -6,11 +6,17 @@ import libs += libodb-pgsql%lib{odb-pgsql}
import libs += libbutl%lib{butl}
import libs += libbpkg%lib{bpkg}
+import mods = bpkg-util%bash{utility}
+
include ../libbrep/
+./: exe{brep-load} exe{brep-load-with-metadata}
+
exe{brep-load}: {hxx ixx cxx}{* -load-options} {hxx ixx cxx}{load-options} \
../libbrep/lib{brep} $libs
+exe{brep-load-with-metadata}: in{load-with-metadata} $mods
+
# Build options.
#
obj{load}: cxx.poptions += -DBREP_COPYRIGHT=\"$copyright\"