diff options
author | Eugene Sandulenko | 2016-07-24 06:31:11 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-24 06:31:11 +0300 |
commit | 11a7598aa89736c23c912d4bbe77babee2c9f441 (patch) | |
tree | 97a771ed4fa51401d475194808ae28a71871a2cd | |
parent | 2e4dd165e936dd0cce01df505993cbe49bb335d4 (diff) | |
download | scummvm-rg350-11a7598aa89736c23c912d4bbe77babee2c9f441.tar.gz scummvm-rg350-11a7598aa89736c23c912d4bbe77babee2c9f441.tar.bz2 scummvm-rg350-11a7598aa89736c23c912d4bbe77babee2c9f441.zip |
CREATE_PROJECT: Hopewfully fix MSVC compilation
-rw-r--r-- | devtools/create_project/cmake.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devtools/create_project/cmake.cpp b/devtools/create_project/cmake.cpp index 53450d1997..d443bba9c0 100644 --- a/devtools/create_project/cmake.cpp +++ b/devtools/create_project/cmake.cpp @@ -120,7 +120,7 @@ void CMakeProvider::writeEngines(const BuildSetup &setup, std::ofstream &workspa } std::string engineName; - std::transform(i->name.begin(), i->name.end(), back_inserter(engineName), toupper); + std::transform(i->name.begin(), i->name.end(), std::back_inserter(engineName), toupper); workspace << " " << engineName; } @@ -135,7 +135,7 @@ void CMakeProvider::writeSubEngines(const BuildSetup &setup, std::ofstream &work } std::string engineName; - std::transform(i->name.begin(), i->name.end(), back_inserter(engineName), toupper); + std::transform(i->name.begin(), i->name.end(), std::back_inserter(engineName), toupper); workspace << "set(SUB_ENGINES_" << engineName; for (StringList::const_iterator j = i->subEngines.begin(), subEnd = i->subEngines.end(); j != subEnd; ++j) { @@ -143,7 +143,7 @@ void CMakeProvider::writeSubEngines(const BuildSetup &setup, std::ofstream &work if (!subEngine.enable) continue; std::string subEngineName; - std::transform(j->begin(), j->end(), back_inserter(subEngineName), toupper); + std::transform(j->begin(), j->end(), std::back_inserter(subEngineName), toupper); workspace << " " << subEngineName; } @@ -165,7 +165,7 @@ void CMakeProvider::createProjectFile(const std::string &name, const std::string project << "add_executable(" << name << "\n"; } else { std::string engineName; - std::transform(name.begin(), name.end(), back_inserter(engineName), toupper); + std::transform(name.begin(), name.end(), std::back_inserter(engineName), toupper); project << "if (ENABLE_" << engineName << ")\n"; project << "add_library(" << name << "\n"; |