blob: b66524835121e527c82e5668959d7c631513b2f0 (
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-2015 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));
}
}
}
|