| 3773 | } |
| 3774 | |
| 3775 | void cmLocalGenerator::AppendCompileOptions(std::string& options, |
| 3776 | std::string const& options_list, |
| 3777 | char const* regex) const |
| 3778 | { |
| 3779 | // Short-circuit if there are no options. |
| 3780 | if (options_list.empty()) { |
| 3781 | return; |
| 3782 | } |
| 3783 | |
| 3784 | // Expand the list of options. |
| 3785 | cmList options_vec{ options_list }; |
| 3786 | this->AppendCompileOptions(options, options_vec, regex); |
| 3787 | } |
| 3788 | |
| 3789 | void cmLocalGenerator::AppendCompileOptions( |
| 3790 | std::string& options, std::vector<std::string> const& options_vec, |
no test coverage detected