| 3837 | } |
| 3838 | |
| 3839 | std::vector<std::string> cmake::GetDebugConfigs() |
| 3840 | { |
| 3841 | cmList configs; |
| 3842 | if (cmValue config_list = |
| 3843 | this->State->GetGlobalProperty("DEBUG_CONFIGURATIONS")) { |
| 3844 | // Expand the specified list and convert to upper-case. |
| 3845 | configs.assign(*config_list); |
| 3846 | configs.transform(cmList::TransformAction::TOUPPER); |
| 3847 | } |
| 3848 | // If no configurations were specified, use a default list. |
| 3849 | if (configs.empty()) { |
| 3850 | configs.emplace_back("DEBUG"); |
| 3851 | } |
| 3852 | return std::move(configs.data()); |
| 3853 | } |
| 3854 | |
| 3855 | int cmake::Build(cmBuildArgs buildArgs, std::vector<std::string> targets, |
| 3856 | std::vector<std::string> nativeOptions, |
no test coverage detected