diff options
Diffstat (limited to 'devtools/create_project')
-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"); |