Add support for -fXX feature flags
This commit is contained in:
parent
9411a232a4
commit
c6aae718bd
3 changed files with 23 additions and 0 deletions
|
|
@ -386,6 +386,12 @@ void libclang_compile_config::do_set_flags(cpp_standard standard, compile_flags
|
|||
add_flag("-fms-extensions");
|
||||
}
|
||||
|
||||
bool libclang_compile_config::do_enable_feature(std::string name)
|
||||
{
|
||||
add_flag("-f" + std::move(name));
|
||||
return true;
|
||||
}
|
||||
|
||||
void libclang_compile_config::do_add_include_dir(std::string path)
|
||||
{
|
||||
add_flag("-I" + std::move(path));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue