blob: 7f666d4fe1958f937403d36f8e55b13ae29f3b9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// file : build2/config/utility.ixx -*- C++ -*-
// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
namespace build2
{
namespace config
{
template <typename T>
inline void
append_options (cstrings& args, T& s, const char* var)
{
if (auto l = s[var])
append_options (args, as<strings> (*l));
}
}
}
|