aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_project/msbuild.cpp
diff options
context:
space:
mode:
authorLittleboy2013-09-06 18:33:48 -0400
committerLittleboy2013-09-06 18:33:48 -0400
commit3079100409df05d5da47a0c2f0676659c7d9d733 (patch)
treec4b807afb1cf77d5965f0a27b2ae973ee4b378e5 /devtools/create_project/msbuild.cpp
parent6df36e5ecfc3f6d5879b1932ecaf0e450ac296a9 (diff)
downloadscummvm-rg350-3079100409df05d5da47a0c2f0676659c7d9d733.tar.gz
scummvm-rg350-3079100409df05d5da47a0c2f0676659c7d9d733.tar.bz2
scummvm-rg350-3079100409df05d5da47a0c2f0676659c7d9d733.zip
CREATE_PROJECT: Change PlatformToolset name for latest version of LLVM on Windows
Diffstat (limited to 'devtools/create_project/msbuild.cpp')
-rw-r--r--devtools/create_project/msbuild.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/devtools/create_project/msbuild.cpp b/devtools/create_project/msbuild.cpp
index 44055ab166..7bab5c1078 100644
--- a/devtools/create_project/msbuild.cpp
+++ b/devtools/create_project/msbuild.cpp
@@ -117,13 +117,14 @@ void MSBuildProvider::createProjectFile(const std::string &name, const std::stri
project << "\t<Import Project=\"$(VCTargetsPath)\\Microsoft.Cpp.Default.props\" />\n";
std::string version = "v" + std::to_string(_version) + "0";
+ std::string llvm = "LLVM-vs" + std::to_string(getVisualStudioVersion());
outputConfigurationType(setup, project, name, "Release|Win32", version);
outputConfigurationType(setup, project, name, "Analysis|Win32", version);
- outputConfigurationType(setup, project, name, "LLVM|Win32", "llvm");
+ outputConfigurationType(setup, project, name, "LLVM|Win32", llvm);
outputConfigurationType(setup, project, name, "Debug|Win32", version);
outputConfigurationType(setup, project, name, "Release|x64", version);
- outputConfigurationType(setup, project, name, "LLVM|x64", "llvm");
+ outputConfigurationType(setup, project, name, "LLVM|x64", llvm);
outputConfigurationType(setup, project, name, "Analysis|x64", version);
outputConfigurationType(setup, project, name, "Debug|x64", version);