diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-01-16 14:11:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-01-16 14:11:14 +0200 |
commit | c106259517d7693ea8e24564bc890fe575d5edcd (patch) | |
tree | bbf87f83edeaf60ff3dfa6fff33c6b7504f5318b /build/path | |
parent | df50091259a34fa4718f38c0e3b7b64f6e2469ac (diff) |
Implement rule chaining for cxx::link
Diffstat (limited to 'build/path')
-rw-r--r-- | build/path | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -304,6 +304,12 @@ namespace build return basic_path (path_ + s); } + basic_path + operator+ (C c) const + { + return basic_path (path_ + c); + } + basic_path& operator+= (string_type const& s) { @@ -311,6 +317,13 @@ namespace build return *this; } + basic_path& + operator+= (C c) + { + path_ += c; + return *this; + } + // Note that comparison is case-insensitive if the filesystem is // not case-sensitive (e.g., Windows). // |