Mercurial > fife-parpg
diff build/win32/build_environments/visual_studio_8/engine_template.xml @ 378:64738befdf3b
bringing in the changes from the build_system_rework branch in preparation for the 0.3.0 release. This commit will require the Jan2010 devkit. Clients will also need to be modified to the new way to import fife.
author | vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 11 Jan 2010 23:34:52 +0000 |
parents | 5ab78cd39534 |
children | 0a798d5c241a |
line wrap: on
line diff
--- a/build/win32/build_environments/visual_studio_8/engine_template.xml Wed Dec 09 17:01:52 2009 +0000 +++ b/build/win32/build_environments/visual_studio_8/engine_template.xml Mon Jan 11 23:34:52 2010 +0000 @@ -1,27 +1,45 @@ -<?xml version="1.0" encoding="windows-1252"?> -<VisualStudioProject ProjectType="Visual C++" Version="8,00" Name="libfife" ProjectGUID="{96025707-5759-400D-80E5-A1E94C8A79A2}" RootNamespace="fife_trunk_core" Keyword="Win32Proj"> +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="fife" + ProjectGUID="{96025707-5759-400D-80E5-A1E94C8A79A2}" + RootNamespace="fife_trunk_core" + Keyword="Win32Proj" + > <Platforms> - <Platform Name="Win32"/> + <Platform + Name="Win32" + /> </Platforms> <ToolFiles> </ToolFiles> <Configurations> <Configuration - Name="Debug|Win32" - OutputDirectory="..\..\..\..\engine\swigwrappers\python" + Name="Debug_python|Win32" + OutputDirectory="$(SolutionDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" ConfigurationType="2" CharacterSet="1" - > + > <Tool Name="VCPreBuildEventTool" - CommandLine="cd ..\..\
update_project_files.bat" + CommandLine="cd "..\..\"
call update_swig_files.bat
" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" /> - <Tool Name="VCCustomBuildTool"/> - <Tool Name="VCXMLDataGeneratorTool"/> - <Tool Name="VCWebServiceProxyGeneratorTool"/> - <Tool Name="VCMIDLTool"/> - <Tool Name="VCCLCompilerTool" + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" Optimization="0" WholeProgramOptimization="false" AdditionalIncludeDirectories="..\..\..\..\engine;..\..\..\..\engine\core;..\..\includes\libguichan;..\..\includes\boost_1_38_0;..\..\includes\openal;..\..\includes\sdl;..\..\includes\zlib;..\..\includes\libvorbis;..\..\includes\libpng;..\..\includes\libogg;..\..\includes\python26;..\..\includes\sdl_image;..\..\includes\sdl_ttf" @@ -34,42 +52,75 @@ DebugInformationFormat="3" DisableSpecificWarnings="4250;4290" /> - <Tool Name="VCManagedResourceCompilerTool"/> - <Tool Name="VCResourceCompilerTool"/> - <Tool Name="VCPreLinkEventTool"/> - <Tool Name="VCLinkerTool" + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" AdditionalDependencies="glu32.lib guichan_opengl.lib guichan_sdl.lib guichan.lib ogg_static.lib openal32.lib opengl32.lib sdl.lib sdlmain.lib SDL_image.lib SDL_ttf.lib vorbis_static.lib vorbisfile_static.lib libpng.lib zlib.lib" OutputFile="$(OutDir)\_fife.pyd" AdditionalLibraryDirectories="..\..\static_libs\msvc2005;..\..\static_libs\msvc2005\python26" IgnoreDefaultLibraryNames="libcmt.lib" GenerateDebugInformation="true" /> - <Tool Name="VCALinkTool"/> - <Tool Name="VCManifestTool"/> - <Tool Name="VCXDCMakeTool"/> - <Tool Name="VCBscMakeTool"/> - <Tool Name="VCFxCopTool"/> - <Tool Name="VCAppVerifierTool"/> - <Tool Name="VCWebDeploymentTool"/> - <Tool Name="VCPostBuildEventTool"/> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + Description="Installing python files" + CommandLine="xcopy "$(TargetPath)" "..\..\..\..\engine\python\fife" /e /c /i /q /y
xcopy "..\..\binaries\msvc2005\*.dll" "..\..\..\..\engine\python\fife" /e /c /i /q /y
xcopy "..\..\..\..\engine\python\fife" "C:\Python26\Lib\site-packages\fife" /e /c /i /q /y
" + /> </Configuration> - <!-- Static Builds used for unit testing solution --> <Configuration Name="Debug_static|Win32" - OutputDirectory="..\..\static_libs\msvc2005" + OutputDirectory="$(SolutionDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" ConfigurationType="4" CharacterSet="1" - > + > <Tool Name="VCPreBuildEventTool" - CommandLine="cd ..\..\
update_project_files.bat" + CommandLine="cd "..\..\"
call update_swig_files.bat
" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" /> - <Tool Name="VCCustomBuildTool"/> - <Tool Name="VCXMLDataGeneratorTool"/> - <Tool Name="VCWebServiceProxyGeneratorTool"/> - <Tool Name="VCMIDLTool"/> - <Tool Name="VCCLCompilerTool" + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\..\..\engine;..\..\..\..\engine\core;..\..\includes\libguichan;..\..\includes\boost_1_38_0;..\..\includes\openal;..\..\includes\sdl;..\..\includes\zlib;..\..\includes\libvorbis;..\..\includes\libpng;..\..\includes\libogg;..\..\includes\python26;..\..\includes\sdl_image;..\..\includes\sdl_ttf" PreprocessorDefinitions="WIN32;_DEBUG;_LIB;HAVE_OPENGL;HAVE_ZIP;LOG_ENABLED;WIN32_LEAN_AND_MEAN;NOMINMAX;M_SQRT2=1.41421356237309504880" @@ -82,34 +133,129 @@ DebugInformationFormat="4" DisableSpecificWarnings="4250;4290" /> - <Tool Name="VCManagedResourceCompilerTool"/> - <Tool Name="VCResourceCompilerTool"/> - <Tool Name="VCPreLinkEventTool"/> - <Tool Name="VCLibrarianTool" - OutputFile="$(OutDir)\$(ProjectName)_d.lib"/> - <Tool Name="VCALinkTool"/> - <Tool Name="VCXDCMakeTool"/> - <Tool Name="VCBscMakeTool"/> - <Tool Name="VCFxCopTool"/> - <Tool Name="VCPostBuildEventTool"/> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)\$(ProjectName)_d.lib" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCPostBuildEventTool" + Description="Copying LIB" + CommandLine="xcopy "$(TargetPath)" "..\..\static_libs\msvc2005" /e /c /i /q /y" + /> </Configuration> <Configuration Name="Release_static|Win32" - OutputDirectory="..\..\static_libs\msvc2005" + OutputDirectory="$(SolutionDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" ConfigurationType="4" CharacterSet="1" WholeProgramOptimization="1" - > + > <Tool Name="VCPreBuildEventTool" - CommandLine="cd ..\..\
update_project_files.bat" + CommandLine="cd "..\..\"
call update_swig_files.bat
" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + WholeProgramOptimization="false" + AdditionalIncludeDirectories="..\..\..\..\engine;..\..\..\..\engine\core;..\..\includes\libguichan;..\..\includes\boost_1_38_0;..\..\includes\openal;..\..\includes\sdl;..\..\includes\zlib;..\..\includes\libvorbis;..\..\includes\libpng;..\..\includes\libogg;..\..\includes\python26;..\..\includes\sdl_image;..\..\includes\sdl_ttf" + PreprocessorDefinitions="WIN32;NDEBUG;_LIB;HAVE_OPENGL;HAVE_ZIP;LOG_ENABLED;WIN32_LEAN_AND_MEAN;NOMINMAX;M_SQRT2=1.41421356237309504880" + RuntimeLibrary="2" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="3" + DisableSpecificWarnings="4250;4290" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLibrarianTool" + /> + <Tool + Name="VCALinkTool" /> - <Tool Name="VCCustomBuildTool"/> - <Tool Name="VCXMLDataGeneratorTool"/> - <Tool Name="VCWebServiceProxyGeneratorTool"/> - <Tool Name="VCMIDLTool"/> - <Tool Name="VCCLCompilerTool" + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCPostBuildEventTool" + Description="Copying LIB" + CommandLine="xcopy "$(TargetPath)" "..\..\static_libs\msvc2005" /e /c /i /q /y" + /> + </Configuration> + <Configuration + Name="Release_python|Win32" + OutputDirectory="$(SolutionDir)$(ConfigurationName)" + IntermediateDirectory="$(ConfigurationName)" + ConfigurationType="2" + CharacterSet="1" + WholeProgramOptimization="1" + > + <Tool + Name="VCPreBuildEventTool" + CommandLine="cd "..\..\"
call update_swig_files.bat
" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" WholeProgramOptimization="false" AdditionalIncludeDirectories="..\..\..\..\engine;..\..\..\..\engine\core;..\..\includes\libguichan;..\..\includes\boost_1_38_0;..\..\includes\openal;..\..\includes\sdl;..\..\includes\zlib;..\..\includes\libvorbis;..\..\includes\libpng;..\..\includes\libogg;..\..\includes\python26;..\..\includes\sdl_image;..\..\includes\sdl_ttf" PreprocessorDefinitions="WIN32;NDEBUG;_LIB;HAVE_OPENGL;HAVE_ZIP;LOG_ENABLED;WIN32_LEAN_AND_MEAN;NOMINMAX;M_SQRT2=1.41421356237309504880" @@ -120,63 +266,211 @@ DebugInformationFormat="3" DisableSpecificWarnings="4250;4290" /> - <Tool Name="VCManagedResourceCompilerTool"/> - <Tool Name="VCResourceCompilerTool"/> - <Tool Name="VCPreLinkEventTool"/> - <Tool Name="VCLibrarianTool"/> - <Tool Name="VCALinkTool"/> - <Tool Name="VCManifestTool"/> - <Tool Name="VCXDCMakeTool"/> - <Tool Name="VCBscMakeTool"/> - <Tool Name="VCFxCopTool"/> - <Tool Name="VCAppVerifierTool"/> - <Tool Name="VCWebDeploymentTool"/> - <Tool Name="VCPostBuildEventTool"/> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="glu32.lib guichan_opengl.lib guichan_sdl.lib guichan.lib ogg_static.lib openal32.lib opengl32.lib sdl.lib sdlmain.lib SDL_image.lib SDL_ttf.lib vorbis_static.lib vorbisfile_static.lib libpng.lib zlib.lib" + OutputFile="$(OutDir)\_fife.pyd" + AdditionalLibraryDirectories="..\..\static_libs\msvc2005;..\..\static_libs\msvc2005\python26" + IgnoreDefaultLibraryNames="libcmt.lib" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + Description="Installing python files" + CommandLine="xcopy "$(TargetPath)" "..\..\..\..\engine\python\fife" /e /c /i /q /y
xcopy "..\..\binaries\msvc2005\*.dll" "..\..\..\..\engine\python\fife" /e /c /i /q /y
xcopy "..\..\..\..\engine\python\fife" "C:\Python26\Lib\site-packages\fife" /e /c /i /q /y" + /> </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="..\..\..\..\engine\swigwrappers\python" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="2" - CharacterSet="1" - WholeProgramOptimization="1" - > + <Configuration + Name="Debug_shared|Win32" + OutputDirectory="$(SolutionDir)$(ConfigurationName)" + IntermediateDirectory="$(ConfigurationName)" + ConfigurationType="2" + CharacterSet="1" + > <Tool Name="VCPreBuildEventTool" - CommandLine="cd ..\..\
update_project_files.bat" + CommandLine="cd "..\..\"
call update_swig_files.bat
" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" /> - <Tool Name="VCCustomBuildTool"/> - <Tool Name="VCXMLDataGeneratorTool"/> - <Tool Name="VCWebServiceProxyGeneratorTool"/> - <Tool Name="VCMIDLTool"/> - <Tool Name="VCCLCompilerTool" - WholeProgramOptimization="false" - AdditionalIncludeDirectories="..\..\..\..\engine;..\..\..\..\engine\core;..\..\includes\libguichan;..\..\includes\boost_1_38_0;..\..\includes\openal;..\..\includes\sdl;..\..\includes\zlib;..\..\includes\libvorbis;..\..\includes\libpng;..\..\includes\libogg;..\..\includes\python26;..\..\includes\sdl_image;..\..\includes\sdl_ttf" - PreprocessorDefinitions="WIN32;NDEBUG;_LIB;HAVE_OPENGL;HAVE_ZIP;LOG_ENABLED;WIN32_LEAN_AND_MEAN;NOMINMAX;M_SQRT2=1.41421356237309504880" - RuntimeLibrary="2" - UsePrecompiledHeader="0" - WarningLevel="3" - Detect64BitPortabilityProblems="true" + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + WholeProgramOptimization="false" + AdditionalIncludeDirectories="..\..\..\..\engine;..\..\..\..\engine\core;..\..\includes\libguichan;..\..\includes\boost_1_38_0;..\..\includes\openal;..\..\includes\sdl;..\..\includes\zlib;..\..\includes\libvorbis;..\..\includes\libpng;..\..\includes\libogg;..\..\includes\python26;..\..\includes\sdl_image;..\..\includes\sdl_ttf" + PreprocessorDefinitions="WIN32;NDEBUG;_LIB;HAVE_OPENGL;HAVE_ZIP;LOG_ENABLED;WIN32_LEAN_AND_MEAN;NOMINMAX;M_SQRT2=1.41421356237309504880" + MinimalRebuild="true" + RuntimeLibrary="2" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" DebugInformationFormat="3" DisableSpecificWarnings="4250;4290" /> - <Tool Name="VCManagedResourceCompilerTool"/> - <Tool Name="VCResourceCompilerTool"/> - <Tool Name="VCPreLinkEventTool"/> - <Tool Name="VCLinkerTool" - AdditionalDependencies="glu32.lib guichan_opengl.lib guichan_sdl.lib guichan.lib ogg_static.lib openal32.lib opengl32.lib sdl.lib sdlmain.lib SDL_image.lib SDL_ttf.lib vorbis_static.lib vorbisfile_static.lib libpng.lib zlib.lib" - OutputFile="$(OutDir)\_fife.pyd" + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="glu32.lib guichan_opengl.lib guichan_sdl.lib guichan.lib ogg_static.lib openal32.lib opengl32.lib sdl.lib sdlmain.lib SDL_image.lib SDL_ttf.lib vorbis_static.lib vorbisfile_static.lib libpng.lib zlib.lib" + OutputFile="$(OutDir)\$(ProjectName)_d.dll" AdditionalLibraryDirectories="..\..\static_libs\msvc2005;..\..\static_libs\msvc2005\python26" IgnoreDefaultLibraryNames="libcmt.lib" + GenerateDebugInformation="true" + ImportLibrary="$(OutDir)\$(ProjectName)_d.lib" /> - <Tool Name="VCALinkTool"/> - <Tool Name="VCManifestTool"/> - <Tool Name="VCXDCMakeTool"/> - <Tool Name="VCBscMakeTool"/> - <Tool Name="VCFxCopTool"/> - <Tool Name="VCAppVerifierTool"/> - <Tool Name="VCWebDeploymentTool"/> - <Tool Name="VCPostBuildEventTool"/> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + Description="Copying DLL and LIB" + CommandLine="xcopy "$(TargetPath)" "..\..\binaries\msvc2005" /e /c /i /q /y
xcopy "$(TargetDir)$(TargetName).lib" "..\..\binaries\msvc2005" /e /c /i /q /y
" + /> + </Configuration> + <Configuration + Name="Release_shared|Win32" + OutputDirectory="$(SolutionDir)$(ConfigurationName)" + IntermediateDirectory="$(ConfigurationName)" + ConfigurationType="2" + CharacterSet="1" + WholeProgramOptimization="1" + > + <Tool + Name="VCPreBuildEventTool" + CommandLine="cd "..\..\"
call update_swig_files.bat
" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + WholeProgramOptimization="false" + AdditionalIncludeDirectories="..\..\..\..\engine;..\..\..\..\engine\core;..\..\includes\libguichan;..\..\includes\boost_1_38_0;..\..\includes\openal;..\..\includes\sdl;..\..\includes\zlib;..\..\includes\libvorbis;..\..\includes\libpng;..\..\includes\libogg;..\..\includes\python26;..\..\includes\sdl_image;..\..\includes\sdl_ttf" + PreprocessorDefinitions="WIN32;NDEBUG;_LIB;HAVE_OPENGL;HAVE_ZIP;LOG_ENABLED;WIN32_LEAN_AND_MEAN;NOMINMAX;M_SQRT2=1.41421356237309504880" + RuntimeLibrary="2" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="3" + DisableSpecificWarnings="4250;4290" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="glu32.lib guichan_opengl.lib guichan_sdl.lib guichan.lib ogg_static.lib openal32.lib opengl32.lib sdl.lib sdlmain.lib SDL_image.lib SDL_ttf.lib vorbis_static.lib vorbisfile_static.lib libpng.lib zlib.lib" + OutputFile="$(OutDir)\$(ProjectName).dll" + AdditionalLibraryDirectories="..\..\static_libs\msvc2005;..\..\static_libs\msvc2005\python26" + IgnoreDefaultLibraryNames="libcmt.lib" + SupportUnloadOfDelayLoadedDLL="false" + ImportLibrary="$(OutDir)\$(ProjectName).lib" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + Description="Copying DLL and LIB" + CommandLine="xcopy "$(TargetPath)" "..\..\binaries\msvc2005" /e /c /i /q /y
xcopy "$(TargetDir)$(TargetName).lib" "..\..\binaries\msvc2005" /e /c /i /q /y
" + /> </Configuration> </Configurations> <References>