diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-05 09:22:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-05 09:22:06 +0200 |
commit | b6746495ce6ee4ba5e3b414a7e401a8135ee1508 (patch) | |
tree | 9d18724c0144b9d4113f8ca2af30173aa210cc57 /brep | |
parent | 207e5156c5664822e0aee8bcc3057adc61027f5b (diff) |
Add support for build-time dependencies
Diffstat (limited to 'brep')
-rw-r--r-- | brep/package | 7 | ||||
-rw-r--r-- | brep/package.xml | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/brep/package b/brep/package index a193c16..423002b 100644 --- a/brep/package +++ b/brep/package @@ -335,13 +335,12 @@ namespace brep { public: bool conditional; + bool buildtime; string comment; dependency_alternatives () = default; - - explicit - dependency_alternatives (bool d, string c) - : conditional (d), comment (move (c)) {} + dependency_alternatives (bool d, bool b, string c) + : conditional (d), buildtime (b), comment (move (c)) {} }; using dependencies = vector<dependency_alternatives>; diff --git a/brep/package.xml b/brep/package.xml index 98c0f02..cfd2a6f 100644 --- a/brep/package.xml +++ b/brep/package.xml @@ -313,6 +313,7 @@ <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="conditional" type="BOOLEAN" null="false"/> + <column name="buildtime" type="BOOLEAN" null="false"/> <column name="comment" type="TEXT" null="false"/> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="name"/> |