(svn r14854) -Change: speedup compilation with MSVC on 'multi-processor' systems (khh)
This commit is contained in:
		| @@ -53,6 +53,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="3" | 				Optimization="3" | ||||||
| 				InlineFunctionExpansion="2" | 				InlineFunctionExpansion="2" | ||||||
| 				EnableIntrinsicFunctions="true" | 				EnableIntrinsicFunctions="true" | ||||||
| @@ -163,6 +164,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="0" | 				Optimization="0" | ||||||
| 				AdditionalIncludeDirectories="..\objs\langs" | 				AdditionalIncludeDirectories="..\objs\langs" | ||||||
| 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | ||||||
| @@ -260,6 +262,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="3" | 				Optimization="3" | ||||||
| 				InlineFunctionExpansion="2" | 				InlineFunctionExpansion="2" | ||||||
| 				EnableIntrinsicFunctions="true" | 				EnableIntrinsicFunctions="true" | ||||||
| @@ -371,6 +374,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="0" | 				Optimization="0" | ||||||
| 				AdditionalIncludeDirectories="..\objs\langs" | 				AdditionalIncludeDirectories="..\objs\langs" | ||||||
| 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | ||||||
|   | |||||||
| @@ -53,6 +53,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="3" | 				Optimization="3" | ||||||
| 				InlineFunctionExpansion="2" | 				InlineFunctionExpansion="2" | ||||||
| 				EnableIntrinsicFunctions="true" | 				EnableIntrinsicFunctions="true" | ||||||
| @@ -163,6 +164,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="0" | 				Optimization="0" | ||||||
| 				AdditionalIncludeDirectories="..\objs\langs" | 				AdditionalIncludeDirectories="..\objs\langs" | ||||||
| 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | ||||||
| @@ -260,6 +262,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="3" | 				Optimization="3" | ||||||
| 				InlineFunctionExpansion="2" | 				InlineFunctionExpansion="2" | ||||||
| 				EnableIntrinsicFunctions="true" | 				EnableIntrinsicFunctions="true" | ||||||
| @@ -371,6 +374,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="0" | 				Optimization="0" | ||||||
| 				AdditionalIncludeDirectories="..\objs\langs" | 				AdditionalIncludeDirectories="..\objs\langs" | ||||||
| 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | ||||||
|   | |||||||
| @@ -54,6 +54,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="3" | 				Optimization="3" | ||||||
| 				InlineFunctionExpansion="2" | 				InlineFunctionExpansion="2" | ||||||
| 				EnableIntrinsicFunctions="true" | 				EnableIntrinsicFunctions="true" | ||||||
| @@ -162,6 +163,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="0" | 				Optimization="0" | ||||||
| 				AdditionalIncludeDirectories="..\objs\langs" | 				AdditionalIncludeDirectories="..\objs\langs" | ||||||
| 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | ||||||
| @@ -258,6 +260,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="3" | 				Optimization="3" | ||||||
| 				InlineFunctionExpansion="2" | 				InlineFunctionExpansion="2" | ||||||
| 				EnableIntrinsicFunctions="true" | 				EnableIntrinsicFunctions="true" | ||||||
| @@ -368,6 +371,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="0" | 				Optimization="0" | ||||||
| 				AdditionalIncludeDirectories="..\objs\langs" | 				AdditionalIncludeDirectories="..\objs\langs" | ||||||
| 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | ||||||
|   | |||||||
| @@ -54,6 +54,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="3" | 				Optimization="3" | ||||||
| 				InlineFunctionExpansion="2" | 				InlineFunctionExpansion="2" | ||||||
| 				EnableIntrinsicFunctions="true" | 				EnableIntrinsicFunctions="true" | ||||||
| @@ -162,6 +163,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="0" | 				Optimization="0" | ||||||
| 				AdditionalIncludeDirectories="..\objs\langs" | 				AdditionalIncludeDirectories="..\objs\langs" | ||||||
| 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | ||||||
| @@ -258,6 +260,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="3" | 				Optimization="3" | ||||||
| 				InlineFunctionExpansion="2" | 				InlineFunctionExpansion="2" | ||||||
| 				EnableIntrinsicFunctions="true" | 				EnableIntrinsicFunctions="true" | ||||||
| @@ -368,6 +371,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="0" | 				Optimization="0" | ||||||
| 				AdditionalIncludeDirectories="..\objs\langs" | 				AdditionalIncludeDirectories="..\objs\langs" | ||||||
| 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\"" | ||||||
|   | |||||||
| @@ -43,6 +43,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="1" | 				Optimization="1" | ||||||
| 				FavorSizeOrSpeed="2" | 				FavorSizeOrSpeed="2" | ||||||
| 				PreprocessorDefinitions="STRGEN;WIN32;_DEBUG;_CONSOLE" | 				PreprocessorDefinitions="STRGEN;WIN32;_DEBUG;_CONSOLE" | ||||||
|   | |||||||
| @@ -44,6 +44,7 @@ | |||||||
| 			/> | 			/> | ||||||
| 			<Tool | 			<Tool | ||||||
| 				Name="VCCLCompilerTool" | 				Name="VCCLCompilerTool" | ||||||
|  | 				AdditionalOptions="/MP" | ||||||
| 				Optimization="1" | 				Optimization="1" | ||||||
| 				FavorSizeOrSpeed="2" | 				FavorSizeOrSpeed="2" | ||||||
| 				PreprocessorDefinitions="STRGEN;WIN32;_DEBUG;_CONSOLE" | 				PreprocessorDefinitions="STRGEN;WIN32;_DEBUG;_CONSOLE" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 glx
					glx