aboutsummaryrefslogtreecommitdiff
path: root/libbrep/package.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-02-01 14:13:23 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-02-01 14:16:01 +0300
commitcdbd2f8b36b555cb56b510fccf29fb5a12d66f80 (patch)
tree89b3860cc9e6ac562832e231a1d107a2ab23e2ab /libbrep/package.hxx
parentccb8a1c22726d15da6f823785e9f9afef751811f (diff)
Add support for enable clause in tests package manifest value
Diffstat (limited to 'libbrep/package.hxx')
-rw-r--r--libbrep/package.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/libbrep/package.hxx b/libbrep/package.hxx
index e189339..06e6335 100644
--- a/libbrep/package.hxx
+++ b/libbrep/package.hxx
@@ -20,7 +20,7 @@
//
#define LIBBREP_PACKAGE_SCHEMA_VERSION_BASE 27
-#pragma db model version(LIBBREP_PACKAGE_SCHEMA_VERSION_BASE, 28, closed)
+#pragma db model version(LIBBREP_PACKAGE_SCHEMA_VERSION_BASE, 29, closed)
namespace brep
{
@@ -198,6 +198,7 @@ namespace brep
{
test_dependency_type type;
bool buildtime;
+ optional<string> enable;
optional<string> reflect;
test_dependency () = default;
@@ -205,10 +206,12 @@ namespace brep
test_dependency_type t,
bool b,
optional<version_constraint> c,
+ optional<string> e,
optional<string> r)
: dependency {move (n), move (c), nullptr /* package */},
type (t),
buildtime (b),
+ enable (move (e)),
reflect (move (r))
{
}