diff options
author | Littleboy | 2013-09-06 18:33:48 -0400 |
---|---|---|
committer | Littleboy | 2013-09-06 18:33:48 -0400 |
commit | 3079100409df05d5da47a0c2f0676659c7d9d733 (patch) | |
tree | c4b807afb1cf77d5965f0a27b2ae973ee4b378e5 /devtools | |
parent | 6df36e5ecfc3f6d5879b1932ecaf0e450ac296a9 (diff) | |
download | scummvm-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')
-rw-r--r-- | devtools/create_project/msbuild.cpp | 5 | ||||
-rw-r--r-- | devtools/create_project/visualstudio.cpp | 2 |
2 files changed, 4 insertions, 3 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); diff --git a/devtools/create_project/visualstudio.cpp b/devtools/create_project/visualstudio.cpp index ac3c30b169..438e0772f9 100644 --- a/devtools/create_project/visualstudio.cpp +++ b/devtools/create_project/visualstudio.cpp @@ -121,7 +121,7 @@ void VisualStudioProvider::createProjectFile(const std::string &name, const std: // Win32 outputConfiguration(setup, project, toolConfig, "Debug", "Win32", ""); outputConfiguration(setup, project, toolConfig, "Analysis", "Win32", ""); - outputConfiguration(setup, project, toolConfig, "LLVM", "Win32", ""); + outputConfiguration(setup, project, toolConfig, "LLVM", "Win32", ""); outputConfiguration(setup, project, toolConfig, "Release", "Win32", ""); outputConfiguration(setup, project, toolConfig, "Debug", "x64", "64"); outputConfiguration(setup, project, toolConfig, "Analysis", "x64", "64"); |