blob: 4e321194a89506475005b24817c041b4e5123199 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// file : build/config/utility.ixx -*- C++ -*-
// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
namespace build
{
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));
}
}
}
|