mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 05:10:10 -05:00
Source sweep: Replace cmExpandList with the shorter cmExpandedList
This replaces the code pattern ``` std::vector<std::string> args; cmExpandList(valueStr, args, ...) ``` with ``` std::vector<std::string> args = cmExpandedList(valueStr, ...) ```
This commit is contained in:
@@ -1492,8 +1492,7 @@ cmLocalVisualStudio7GeneratorFCInfo::cmLocalVisualStudio7GeneratorFCInfo(
|
||||
|
||||
// Check for extra object-file dependencies.
|
||||
if (const char* deps = sf.GetProperty("OBJECT_DEPENDS")) {
|
||||
std::vector<std::string> depends;
|
||||
cmExpandList(deps, depends);
|
||||
std::vector<std::string> depends = cmExpandedList(deps);
|
||||
const char* sep = "";
|
||||
for (std::vector<std::string>::iterator j = depends.begin();
|
||||
j != depends.end(); ++j) {
|
||||
|
||||
Reference in New Issue
Block a user