@@ -0,0 +1,27 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | |||||
<UseDebugLibraries>true</UseDebugLibraries> | |||||
<CharacterSet>MultiByte</CharacterSet> | |||||
<UseOfMfc>Dynamic</UseOfMfc> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'" Label="Configuration"> | |||||
<UseDebugLibraries>true</UseDebugLibraries> | |||||
<CharacterSet>MultiByte</CharacterSet> | |||||
<UseOfMfc>Dynamic</UseOfMfc> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | |||||
<UseDebugLibraries>false</UseDebugLibraries> | |||||
<WholeProgramOptimization>true</WholeProgramOptimization> | |||||
<CharacterSet>MultiByte</CharacterSet> | |||||
<UseOfMfc>Dynamic</UseOfMfc> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'" Label="Configuration"> | |||||
<UseDebugLibraries>false</UseDebugLibraries> | |||||
<WholeProgramOptimization>true</WholeProgramOptimization> | |||||
<CharacterSet>MultiByte</CharacterSet> | |||||
<UseOfMfc>Dynamic</UseOfMfc> | |||||
</PropertyGroup> | |||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |||||
</Project> |
@@ -0,0 +1,56 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||||
<PropertyGroup> | |||||
<LinkIncremental Condition="'$(Configuration)'=='Debug'">true</LinkIncremental> | |||||
<LinkIncremental Condition="'$(Configuration)'=='Release'">false</LinkIncremental> | |||||
</PropertyGroup> | |||||
<ItemDefinitionGroup> | |||||
<ClCompile> | |||||
<WarningLevel>Level3</WarningLevel> | |||||
<MultiProcessorCompilation>true</MultiProcessorCompilation> | |||||
<FloatingPointModel>Fast</FloatingPointModel> | |||||
<AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||||
<AdditionalIncludeDirectories Condition="'$(Platform)'=='Win32'">$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||||
<PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||||
<PreprocessorDefinitions Condition="'$(Platform)'=='Xbox 360'">_XBOX;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||||
<BufferSecurityCheck Condition="'$(Platform)'=='Xbox 360'">false</BufferSecurityCheck> | |||||
</ClCompile> | |||||
<ClCompile Condition="'$(Configuration)'=='Debug'"> | |||||
<Optimization>Disabled</Optimization> | |||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | |||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||||
</ClCompile> | |||||
<ClCompile Condition="'$(Configuration)'=='Release'"> | |||||
<Optimization>MaxSpeed</Optimization> | |||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> | |||||
<FunctionLevelLinking>true</FunctionLevelLinking> | |||||
<IntrinsicFunctions>true</IntrinsicFunctions> | |||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> | |||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||||
</ClCompile> | |||||
<Link> | |||||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||||
<!-- FIXME: not for the static library! --> | |||||
<AdditionalDependencies Condition="'$(Platform)'=='Win32'">kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;$(SdlDeps);$(GdiDeps);$(GlDeps);%(AdditionalDependencies)</AdditionalDependencies> | |||||
<AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32'">$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | |||||
<AdditionalDependencies Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">xapilibd.lib;d3d9d.lib;d3dx9d.lib;xgraphicsd.lib;xboxkrnl.lib;xnetd.lib;xaudiod2.lib;xactd3.lib;x3daudiod.lib;xmcored.lib;xbdm.lib;vcompd.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||||
<AdditionalDependencies Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">xapilib.lib;d3d9.lib;d3dx9.lib;xgraphics.lib;xboxkrnl.lib;xnet.lib;xaudio2.lib;xact3.lib;x3daudio.lib;xmcore.lib;vcomp.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||||
</Link> | |||||
<Link Condition="'$(Configuration)'=='Release'"> | |||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> | |||||
<OptimizeReferences>true</OptimizeReferences> | |||||
</Link> | |||||
<!-- FIXME: not for the static library! --> | |||||
<PostBuildEvent Condition="'$(Platform)'=='Win32'"> | |||||
<Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command> | |||||
</PostBuildEvent> | |||||
<!-- FIXME: not for the static library! --> | |||||
<Deploy Condition="'$(Platform)'=='Xbox 360'"> | |||||
<DeploymentType>CopyToHardDrive</DeploymentType> | |||||
</Deploy> | |||||
</ItemDefinitionGroup> | |||||
</Project> |
@@ -0,0 +1,52 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||||
<ImportGroup Label="PropertySheets" /> | |||||
<PropertyGroup Label="UserMacros"> | |||||
<ContribDir>$(SolutionDir)\..\contrib</ContribDir> | |||||
<GlewDir>$(ContribDir)\glew-1.7.0</GlewDir> | |||||
<GtkDir>$(ContribDir)\gtk-2.22.1</GtkDir> | |||||
<GtkGlDir>$(ContribDir)\gtkglarea-2.0.1</GtkGlDir> | |||||
<SdlDir>$(ContribDir)\sdl-1.2.14</SdlDir> | |||||
<SdlImageDir>$(ContribDir)\sdl-image-1.2.10</SdlImageDir> | |||||
<SdlMixerDir>$(ContribDir)\sdl-mixer-1.2.11</SdlMixerDir> | |||||
<GlIncludes>$(GlewDir)\include\GL</GlIncludes> | |||||
<GtkIncludes>$(GtkDir)\lib\glib-2.0\include;$(GtkDir)\lib\gtk-2.0\include;$(GtkDir)\include\glib-2.0;$(GtkDir)\include\gtk-2.0;$(GtkDir)\include\cairo;$(GtkDir)\include\pango-1.0;$(GtkDir)\include\gdk-pixbuf-2.0;$(GtkDir)\include\atk-1.0;$(GtkGlDir)\include</GtkIncludes> | |||||
<SdlIncludes>$(SdlDir)\include;$(SdlImageDir)\include;$(SdlMixerDir)\include</SdlIncludes> | |||||
<GlLibs>$(GlewDir)\lib\i686-w64-mingw32</GlLibs> | |||||
<GtkLibs>$(GtkDir)\lib;$(GtkDir)\bin;$(GtkGlDir)\lib</GtkLibs> | |||||
<SdlLibs>$(SdlDir)\lib\i686-w64-mingw32;$(SdlImageDir)\lib\i686-w64-mingw32;$(SdlMixerDir)\lib\i686-w64-mingw32</SdlLibs> | |||||
<GdiDeps>Gdiplus.lib</GdiDeps> | |||||
<GlDeps>opengl32.lib;glew32.lib</GlDeps> | |||||
<GtkDeps>gobject-2.0.lib;gthread-2.0.lib;glib-2.0.lib;gdk-win32-2.0.lib;gtk-win32-2.0.lib;gtkgl-2.0.lib</GtkDeps> | |||||
<SdlDeps>SDL.lib;SDLmain.lib;SDL_image.lib;SDL_mixer.lib</SdlDeps> | |||||
<Win32Defines>USE_GLEW;GLEW_STATIC;HAVE_SDL_H;USE_SDL;USE_GDIPLUS</Win32Defines> | |||||
<XboxDefines></XboxDefines> | |||||
</PropertyGroup> | |||||
<PropertyGroup /> | |||||
<ItemDefinitionGroup /> | |||||
<ItemGroup> | |||||
<BuildMacro Include="ContribDir"><Value>$(ContribDir)</Value></BuildMacro> | |||||
<BuildMacro Include="GlewDir"><Value>$(GlewDir)</Value></BuildMacro> | |||||
<BuildMacro Include="GtkDir"><Value>$(GtkDir)</Value></BuildMacro> | |||||
<BuildMacro Include="GtkGlDir"><Value>$(GtkGlDir)</Value></BuildMacro> | |||||
<BuildMacro Include="SdlDir"><Value>$(SdlDir)</Value></BuildMacro> | |||||
<BuildMacro Include="SdlImageDir"><Value>$(SdlImageDir)</Value></BuildMacro> | |||||
<BuildMacro Include="SdlMixerDir"><Value>$(SdlMixerDir)</Value></BuildMacro> | |||||
<BuildMacro Include="GlIncludes"><Value>$(GlIncludes)</Value></BuildMacro> | |||||
<BuildMacro Include="GtkIncludes"><Value>$(GtkIncludes)</Value></BuildMacro> | |||||
<BuildMacro Include="SdlIncludes"><Value>$(SdlIncludes)</Value></BuildMacro> | |||||
<BuildMacro Include="GlLibs"><Value>$(GlLibs)</Value></BuildMacro> | |||||
<BuildMacro Include="GtkLibs"><Value>$(GtkLibs)</Value></BuildMacro> | |||||
<BuildMacro Include="SdlLibs"><Value>$(SdlLibs)</Value></BuildMacro> | |||||
<BuildMacro Include="GdiDeps"><Value>$(GdiDeps)</Value></BuildMacro> | |||||
<BuildMacro Include="GlDeps"><Value>$(GlDeps)</Value></BuildMacro> | |||||
<BuildMacro Include="GtkDeps"><Value>$(GtkDeps)</Value></BuildMacro> | |||||
<BuildMacro Include="SdlDeps"><Value>$(SdlDeps)</Value></BuildMacro> | |||||
<BuildMacro Include="Win32Defines"><Value>$(Win32Defines)</Value></BuildMacro> | |||||
<BuildMacro Include="XboxDefines"><Value>$(XboxDefines)</Value></BuildMacro> | |||||
</ItemGroup> | |||||
<PropertyGroup> | |||||
<OutDir>$(Platform) $(Configuration)\</OutDir> | |||||
<IntDir>$(Platform) $(Configuration)\$(ProjectName)\</IntDir> | |||||
</PropertyGroup> | |||||
</Project> |