aboutsummaryrefslogtreecommitdiff
path: root/build/variable
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-27 12:57:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-27 12:57:39 +0200
commit9d818423031083f227a5e872826ed8c2d6e14a0f (patch)
tree794f3a27ba27e9210dc0c891fe681b863b53c747 /build/variable
parent10cdf9fdcd4181f2ea3dec1abf5bcc359b87829c (diff)
Add support for specifying library link order
Diffstat (limited to 'build/variable')
-rw-r--r--build/variable4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/variable b/build/variable
index 05ca671..59db060 100644
--- a/build/variable
+++ b/build/variable
@@ -67,6 +67,7 @@ namespace build
struct list_value: value, names
{
public:
+ list_value () = default;
list_value (names d): names (std::move (d)) {}
list_value (std::string d) {emplace_back (std::move (d));}
list_value (dir_path d) {emplace_back (std::move (d));}
@@ -115,6 +116,9 @@ namespace build
operator= (const value_proxy&) const;
const value_proxy&
+ operator= (list_value) const;
+
+ const value_proxy&
operator= (std::string) const;
const value_proxy&