From 2bc006daa59995085626b3e9c0754823bf9d95a5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 29 Jun 2011 14:08:29 +0200 Subject: Add --include-regex and --include-regex-trace options This requires libcutl update. --- odb/include.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'odb/include.cxx') diff --git a/odb/include.cxx b/odb/include.cxx index de3be4a..8d70b64 100644 --- a/odb/include.cxx +++ b/odb/include.cxx @@ -606,9 +606,9 @@ namespace include f += ctx.options.odb_file_suffix (); f += ctx.options.hxx_suffix (); - ctx.os << "#include " << - (inc->type_ == include_directive::quote ? '"' : '<') << f << - (inc->type_ == include_directive::quote ? '"' : '>') << endl + char o (inc->type_ == include_directive::quote ? '"' : '<'); + ctx.os << "#include " << ctx.process_include_path ( + f.string (), false, o) << endl << endl; } } -- cgit v1.1