aboutsummaryrefslogtreecommitdiff
path: root/brep/package
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-05 09:22:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-05 09:22:06 +0200
commitb6746495ce6ee4ba5e3b414a7e401a8135ee1508 (patch)
tree9d18724c0144b9d4113f8ca2af30173aa210cc57 /brep/package
parent207e5156c5664822e0aee8bcc3057adc61027f5b (diff)
Add support for build-time dependencies
Diffstat (limited to 'brep/package')
-rw-r--r--brep/package7
1 files changed, 3 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>;