Changeset 919
- Timestamp:
- 03/15/10 21:01:38 (5 months ago)
- Location:
- trunk
- Files:
-
- 6 added
- 3 modified
-
client/client.vcproj (modified) (4 diffs)
-
client/Game2/main.cpp (modified) (1 diff)
-
lib/build/hrlibs.sln (modified) (2 diffs)
-
lib/build/mfcleakfix (added)
-
lib/build/mfcleakfix/mfcleakfix.cpp (added)
-
lib/build/mfcleakfix/mfcleakfix.h (added)
-
lib/build/mfcleakfix/mfcleakfix.vcproj (added)
-
lib/mfcleakfix.dll (added)
-
lib/mfcleakfix.lib (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/client.vcproj
r918 r919 44 44 Name="VCCLCompilerTool" 45 45 Optimization="0" 46 AdditionalIncludeDirectories="../include;../include/lua "46 AdditionalIncludeDirectories="../include;../include/lua;../lib/build/mfcleakfix" 47 47 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_MBNET_;WITH_OPENAL" 48 48 MinimalRebuild="false" … … 69 69 Name="VCLinkerTool" 70 70 AdditionalOptions="/MACHINE:I386" 71 AdditionalDependencies="wsock32.lib winmm.lib version.lib comctl32.lib libcurld.lib LiteUnzip.lib intl.lib lua5.1D.lib luabindD.lib OIS_d.lib "71 AdditionalDependencies="wsock32.lib winmm.lib version.lib comctl32.lib libcurld.lib LiteUnzip.lib intl.lib lua5.1D.lib luabindD.lib OIS_d.lib mfcleakfix.lib" 72 72 OutputFile="..\Debug\HoverRace.exe" 73 73 SuppressStartupBanner="true" … … 691 691 Name="VCCustomBuildTool" 692 692 Description="$(InputFileName)" 693 CommandLine="copy "$(InputPath)" $(OutDir) "694 Outputs="$(OutDir)\$(InputFileName)" 695 /> 696 </FileConfiguration> 697 <FileConfiguration 698 Name="Release|Win32" 699 > 700 <Tool 701 Name="VCCustomBuildTool" 702 Description="$(InputFileName)" 703 CommandLine="copy "$(InputPath)" $(OutDir) "693 CommandLine="copy "$(InputPath)" $(OutDir)
" 694 Outputs="$(OutDir)\$(InputFileName)" 695 /> 696 </FileConfiguration> 697 <FileConfiguration 698 Name="Release|Win32" 699 > 700 <Tool 701 Name="VCCustomBuildTool" 702 Description="$(InputFileName)" 703 CommandLine="copy "$(InputPath)" $(OutDir)
" 704 704 Outputs="$(OutDir)\$(InputFileName)" 705 705 /> … … 708 708 <File 709 709 RelativePath="..\lib\luabindD.dll" 710 > 711 <FileConfiguration 712 Name="Debug|Win32" 713 > 714 <Tool 715 Name="VCCustomBuildTool" 716 Description="$(InputFileName)" 717 CommandLine="copy "$(InputPath)" $(OutDir)
" 718 Outputs="$(OutDir)\$(InputFileName)" 719 /> 720 </FileConfiguration> 721 <FileConfiguration 722 Name="Release|Win32" 723 ExcludedFromBuild="true" 724 > 725 <Tool 726 Name="VCCustomBuildTool" 727 Description="$(InputFileName)" 728 CommandLine="copy "$(InputPath)" $(OutDir)
" 729 Outputs="$(OutDir)\$(InputFileName)" 730 /> 731 </FileConfiguration> 732 </File> 733 <File 734 RelativePath="..\lib\mfcleakfix.dll" 710 735 > 711 736 <FileConfiguration -
trunk/client/Game2/main.cpp
r880 r919 45 45 using HoverRace::Util::Config; 46 46 using HoverRace::Util::OS; 47 48 #ifdef _WIN32 49 # include <mfcleakfix.h> 50 static int foo = use_ignore_mfc_leaks(); 51 #endif 47 52 48 53 static std::string initScript; -
trunk/lib/build/hrlibs.sln
r913 r919 3 3 # Visual Studio 2005 4 4 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "luabind", "luabind\luabind.vcproj", "{8BCFB27F-654C-471E-8590-31D89ED4A529}" 5 EndProject 6 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mfcleakfix", "mfcleakfix\mfcleakfix.vcproj", "{DC4ADD42-4E45-4E72-AD47-7D67FFFE4F95}" 5 7 EndProject 6 8 Global … … 14 16 {8BCFB27F-654C-471E-8590-31D89ED4A529}.Release|Win32.ActiveCfg = Release|Win32 15 17 {8BCFB27F-654C-471E-8590-31D89ED4A529}.Release|Win32.Build.0 = Release|Win32 18 {DC4ADD42-4E45-4E72-AD47-7D67FFFE4F95}.Debug|Win32.ActiveCfg = Debug|Win32 19 {DC4ADD42-4E45-4E72-AD47-7D67FFFE4F95}.Debug|Win32.Build.0 = Debug|Win32 20 {DC4ADD42-4E45-4E72-AD47-7D67FFFE4F95}.Release|Win32.ActiveCfg = Release|Win32 16 21 EndGlobalSection 17 22 GlobalSection(SolutionProperties) = preSolution
