Minor MSVC Project Changes:
1) Automatically add "bl" to binary name on BinLog builds 2) Exclude binlog.cpp from non-BinLog builds
This commit is contained in:
		| @@ -52,8 +52,8 @@ | ||||
| 				IgnoreDefaultLibraryNames="MSVCRT;LIBC" | ||||
| 				ModuleDefinitionFile="" | ||||
| 				GenerateDebugInformation="TRUE" | ||||
| 				ProgramDatabaseFile=".\jitdebug/amxx_mm.pdb" | ||||
| 				ImportLibrary=".\jitdebug/amxx_mm.lib"/> | ||||
| 				ProgramDatabaseFile=".\jitdebug/amxmodx_mm.pdb" | ||||
| 				ImportLibrary=".\jitdebug/amxmodx_mm.lib"/> | ||||
| 			<Tool | ||||
| 				Name="VCMIDLTool" | ||||
| 				PreprocessorDefinitions="_DEBUG" | ||||
| @@ -130,7 +130,7 @@ | ||||
| 				GenerateDebugInformation="TRUE" | ||||
| 				ProgramDatabaseFile=".\jitrelease/amxmodx_mm.pdb" | ||||
| 				GenerateMapFile="TRUE" | ||||
| 				ImportLibrary=".\jitrelease/amxx_mm.lib"/> | ||||
| 				ImportLibrary=".\jitrelease/amxmodx_mm.lib"/> | ||||
| 			<Tool | ||||
| 				Name="VCMIDLTool" | ||||
| 				PreprocessorDefinitions="NDEBUG" | ||||
| @@ -191,7 +191,7 @@ | ||||
| 				Name="VCLinkerTool" | ||||
| 				AdditionalOptions="/MACHINE:I386" | ||||
| 				AdditionalDependencies="..\zlib\zlib.lib ..\JIT\amxjitsn.obj ..\JIT\amxexecn.obj ..\JIT\natives-x86.obj" | ||||
| 				OutputFile="jitdebugbinlog/amxmodx_mm.dll" | ||||
| 				OutputFile="jitdebugbinlog/amxmodx_bl_mm.dll" | ||||
| 				Version="0.1" | ||||
| 				LinkIncremental="2" | ||||
| 				SuppressStartupBanner="TRUE" | ||||
| @@ -199,8 +199,8 @@ | ||||
| 				IgnoreDefaultLibraryNames="MSVCRT;LIBC" | ||||
| 				ModuleDefinitionFile="" | ||||
| 				GenerateDebugInformation="TRUE" | ||||
| 				ProgramDatabaseFile=".\jitdebugbinlog/amxx_mm.pdb" | ||||
| 				ImportLibrary=".\jitdebugbinlog/amxx_mm.lib"/> | ||||
| 				ProgramDatabaseFile=".\jitdebugbinlog/amxmodx_bl_mm.pdb" | ||||
| 				ImportLibrary=".\jitdebugbinlog/amxmodx_bl_mm.lib"/> | ||||
| 			<Tool | ||||
| 				Name="VCMIDLTool" | ||||
| 				PreprocessorDefinitions="_DEBUG" | ||||
| @@ -268,16 +268,16 @@ | ||||
| 				Name="VCLinkerTool" | ||||
| 				AdditionalOptions="/MACHINE:I386" | ||||
| 				AdditionalDependencies="..\zlib\zlib.lib ..\JIT\amxjitsn.obj ..\JIT\amxexecn.obj ..\JIT\natives-x86.obj" | ||||
| 				OutputFile="jitreleasebinlog/amxmodx_mm.dll" | ||||
| 				OutputFile="jitreleasebinlog/amxmodx_bl_mm.dll" | ||||
| 				LinkIncremental="1" | ||||
| 				SuppressStartupBanner="TRUE" | ||||
| 				AdditionalLibraryDirectories="..\extra\lib_win32" | ||||
| 				IgnoreDefaultLibraryNames="MSVCRT" | ||||
| 				ModuleDefinitionFile="" | ||||
| 				GenerateDebugInformation="TRUE" | ||||
| 				ProgramDatabaseFile=".\jitreleasebinlog/amxmodx_mm.pdb" | ||||
| 				ProgramDatabaseFile=".\jitreleasebinlog/amxmodx_bl_mm.pdb" | ||||
| 				GenerateMapFile="TRUE" | ||||
| 				ImportLibrary=".\jitreleasebinlog/amxx_mm.lib"/> | ||||
| 				ImportLibrary=".\jitreleasebinlog/amxmodx_bl_mm.lib"/> | ||||
| 			<Tool | ||||
| 				Name="VCMIDLTool" | ||||
| 				PreprocessorDefinitions="NDEBUG" | ||||
| @@ -336,6 +336,18 @@ | ||||
| 			</File> | ||||
| 			<File | ||||
| 				RelativePath="..\binlog.cpp"> | ||||
| 				<FileConfiguration | ||||
| 					Name="JITDebug|Win32" | ||||
| 					ExcludedFromBuild="TRUE"> | ||||
| 					<Tool | ||||
| 						Name="VCCLCompilerTool"/> | ||||
| 				</FileConfiguration> | ||||
| 				<FileConfiguration | ||||
| 					Name="JITRelease|Win32" | ||||
| 					ExcludedFromBuild="TRUE"> | ||||
| 					<Tool | ||||
| 						Name="VCCLCompilerTool"/> | ||||
| 				</FileConfiguration> | ||||
| 			</File> | ||||
| 			<File | ||||
| 				RelativePath="..\CCmd.cpp"> | ||||
| @@ -369,18 +381,6 @@ | ||||
| 			</File> | ||||
| 			<File | ||||
| 				RelativePath="..\CTask.cpp"> | ||||
| 				<FileConfiguration | ||||
| 					Name="JITRelease|Win32"> | ||||
| 					<Tool | ||||
| 						Name="VCCLCompilerTool" | ||||
| 						AssemblerOutput="0"/> | ||||
| 				</FileConfiguration> | ||||
| 				<FileConfiguration | ||||
| 					Name="JITReleaseBinLog|Win32"> | ||||
| 					<Tool | ||||
| 						Name="VCCLCompilerTool" | ||||
| 						AssemblerOutput="0"/> | ||||
| 				</FileConfiguration> | ||||
| 			</File> | ||||
| 			<File | ||||
| 				RelativePath="..\CVault.cpp"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user