aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_project
diff options
context:
space:
mode:
authorSupSuper2018-12-17 00:17:52 +0000
committerFilippos Karapetis2018-12-23 18:39:06 +0200
commitf08e7a301241f0b17ad4362063abacdc1fd8a90b (patch)
treef98c9ff070ae458c9d8acc4ddd1d102f06bb0082 /devtools/create_project
parent0a474f2a1a2aa1d4254f08c66070d1dfcdfb48cc (diff)
downloadscummvm-rg350-f08e7a301241f0b17ad4362063abacdc1fd8a90b.tar.gz
scummvm-rg350-f08e7a301241f0b17ad4362063abacdc1fd8a90b.tar.bz2
scummvm-rg350-f08e7a301241f0b17ad4362063abacdc1fd8a90b.zip
MSVC: Replace MinimalRebuild with MultiProcessor flag
MinimalRebuild is obsolete and MultiProcessorCompilation yields better performance.
Diffstat (limited to 'devtools/create_project')
-rw-r--r--devtools/create_project/msbuild.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/create_project/msbuild.cpp b/devtools/create_project/msbuild.cpp
index 762b3e4526..485e8b4252 100644
--- a/devtools/create_project/msbuild.cpp
+++ b/devtools/create_project/msbuild.cpp
@@ -393,6 +393,7 @@ void MSBuildProvider::outputGlobalPropFile(const BuildSetup &setup, std::ofstrea
properties << "\t\t\t<WarningLevel>Level4</WarningLevel>\n"
"\t\t\t<TreatWarningAsError>false</TreatWarningAsError>\n"
"\t\t\t<CompileAs>Default</CompileAs>\n"
+ "\t\t\t<MultiProcessorCompilation>true</MultiProcessorCompilation>\n"
"\t\t</ClCompile>\n"
"\t\t<Link>\n"
"\t\t\t<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>\n"
@@ -450,7 +451,6 @@ void MSBuildProvider::createBuildProp(const BuildSetup &setup, bool isRelease, b
} else {
properties << "\t\t\t<Optimization>Disabled</Optimization>\n"
"\t\t\t<PreprocessorDefinitions>WIN32;" << (configuration == "LLVM" ? "_CRT_SECURE_NO_WARNINGS;" : "") << "%(PreprocessorDefinitions)</PreprocessorDefinitions>\n"
- "\t\t\t<MinimalRebuild>true</MinimalRebuild>\n"
"\t\t\t<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\n"
"\t\t\t<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>\n"
"\t\t\t<FunctionLevelLinking>true</FunctionLevelLinking>\n"