aboutsummaryrefslogtreecommitdiff
path: root/libbrep/package.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-08-24 13:29:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-08-24 14:12:42 +0300
commitdef0adc835b35f503eda48049e9e753786c21655 (patch)
treecc4dcf7c2e02132e2f0cee0523a74906cf70107a /libbrep/package.hxx
parente52bba0e65fb3c2eee9adb7672381964b35aad9c (diff)
Add support for build-time mark (*) in tests, examples, and benchmarks package manifest values
Diffstat (limited to 'libbrep/package.hxx')
-rw-r--r--libbrep/package.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/libbrep/package.hxx b/libbrep/package.hxx
index 1619185..85eaec0 100644
--- a/libbrep/package.hxx
+++ b/libbrep/package.hxx
@@ -20,7 +20,7 @@
//
#define LIBBREP_PACKAGE_SCHEMA_VERSION_BASE 19
-#pragma db model version(LIBBREP_PACKAGE_SCHEMA_VERSION_BASE, 20, closed)
+#pragma db model version(LIBBREP_PACKAGE_SCHEMA_VERSION_BASE, 21, closed)
namespace brep
{
@@ -194,15 +194,22 @@ namespace brep
struct test_dependency: dependency
{
test_dependency_type type;
+ bool buildtime;
test_dependency () = default;
test_dependency (package_name n,
test_dependency_type t,
+ bool b,
optional<version_constraint> c)
: dependency {std::move (n), std::move (c), nullptr /* package */},
- type (t)
+ type (t),
+ buildtime (b)
{
}
+
+ // Database mapping.
+ //
+ #pragma db member(buildtime) default(false) // @@ TMP
};
// certificate