Skip to content

Commit

Permalink
Making changes to structure to support Mono in addition to Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
babelshift committed Oct 31, 2013
1 parent 2529b15 commit 42d3fba
Show file tree
Hide file tree
Showing 11 changed files with 333 additions and 0 deletions.
67 changes: 67 additions & 0 deletions SharpDL.Events/SharpDL.Events.Mono.csproj
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{CBAC74B4-D9CD-4E22-AFC8-C9553423A6C5}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SharpDL.Events</RootNamespace>
<AssemblyName>SharpDL.Events</AssemblyName>
<FileAlignment>512</FileAlignment>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="SDL2#">
<HintPath>..\Libs\SDL2#\SDL2#.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="GameEventArgs.cs" />
<Compile Include="GameEventArgsFactory.cs" />
<Compile Include="KeyboardEventArgs.cs" />
<Compile Include="MouseButtonEventArgs.cs" />
<Compile Include="MouseMotionEventArgs.cs" />
<Compile Include="MouseWheelEventArgs.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="QuitEventArgs.cs" />
<Compile Include="TextEditingEventArgs.cs" />
<Compile Include="TextInputEventArgs.cs" />
<Compile Include="VideoDeviceSystemEventArgs.cs" />
<Compile Include="WindowEventArgs.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
2 changes: 2 additions & 0 deletions SharpDL.Events/SharpDL.Events.csproj
Expand Up @@ -11,6 +11,8 @@
<AssemblyName>SharpDL.Events</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
68 changes: 68 additions & 0 deletions SharpDL.Graphics/SharpDL.Graphics.Mono.csproj
@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{DA5E47BC-F509-40F5-9FC7-9C94D1D70809}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SharpDL.Graphics</RootNamespace>
<AssemblyName>SharpDL.Graphics</AssemblyName>
<FileAlignment>512</FileAlignment>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="SDL2#">
<HintPath>..\Libs\SDL2#\SDL2#.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Color.cs" />
<Compile Include="Font.cs" />
<Compile Include="Image.cs" />
<Compile Include="Point.cs" />
<Compile Include="Rectangle.cs" />
<Compile Include="Renderer.cs" />
<Compile Include="Surface.cs" />
<Compile Include="Texture.cs" />
<Compile Include="TrueTypeText.cs" />
<Compile Include="TrueTypeTextFactory.cs" />
<Compile Include="Vector.cs" />
<Compile Include="Window.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
2 changes: 2 additions & 0 deletions SharpDL.Graphics/SharpDL.Graphics.csproj
Expand Up @@ -11,6 +11,8 @@
<AssemblyName>SharpDL.Graphics</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
58 changes: 58 additions & 0 deletions SharpDL.Input/SharpDL.Input.Mono.csproj
@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{91EBB67F-91DC-4721-A62E-02B39F821062}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SharpDL.Input</RootNamespace>
<AssemblyName>SharpDL.Input</AssemblyName>
<FileAlignment>512</FileAlignment>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="SDL2#">
<HintPath>..\Libs\SDL2#\SDL2#.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="KeyInformation.cs" />
<Compile Include="Mouse.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
2 changes: 2 additions & 0 deletions SharpDL.Input/SharpDL.Input.csproj
Expand Up @@ -11,6 +11,8 @@
<AssemblyName>SharpDL.Input</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
41 changes: 41 additions & 0 deletions SharpDL.Mono.sln
@@ -0,0 +1,41 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpDL.Mono", "SharpDL\SharpDL.Mono.csproj", "{65A37BD8-0987-4E05-A48A-CF59E4DE3F41}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpDL.Events.Mono", "SharpDL.Events\SharpDL.Events.Mono.csproj", "{CBAC74B4-D9CD-4E22-AFC8-C9553423A6C5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpDL.Graphics.Mono", "SharpDL.Graphics\SharpDL.Graphics.Mono.csproj", "{DA5E47BC-F509-40F5-9FC7-9C94D1D70809}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpDL.Input.Mono", "SharpDL.Input\SharpDL.Input.Mono.csproj", "{91EBB67F-91DC-4721-A62E-02B39F821062}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{65A37BD8-0987-4E05-A48A-CF59E4DE3F41}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{65A37BD8-0987-4E05-A48A-CF59E4DE3F41}.Debug|Any CPU.Build.0 = Debug|Any CPU
{65A37BD8-0987-4E05-A48A-CF59E4DE3F41}.Release|Any CPU.ActiveCfg = Release|Any CPU
{65A37BD8-0987-4E05-A48A-CF59E4DE3F41}.Release|Any CPU.Build.0 = Release|Any CPU
{91EBB67F-91DC-4721-A62E-02B39F821062}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{91EBB67F-91DC-4721-A62E-02B39F821062}.Debug|Any CPU.Build.0 = Debug|Any CPU
{91EBB67F-91DC-4721-A62E-02B39F821062}.Release|Any CPU.ActiveCfg = Release|Any CPU
{91EBB67F-91DC-4721-A62E-02B39F821062}.Release|Any CPU.Build.0 = Release|Any CPU
{CBAC74B4-D9CD-4E22-AFC8-C9553423A6C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CBAC74B4-D9CD-4E22-AFC8-C9553423A6C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CBAC74B4-D9CD-4E22-AFC8-C9553423A6C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CBAC74B4-D9CD-4E22-AFC8-C9553423A6C5}.Release|Any CPU.Build.0 = Release|Any CPU
{DA5E47BC-F509-40F5-9FC7-9C94D1D70809}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DA5E47BC-F509-40F5-9FC7-9C94D1D70809}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DA5E47BC-F509-40F5-9FC7-9C94D1D70809}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DA5E47BC-F509-40F5-9FC7-9C94D1D70809}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = SharpDL\SharpDL.Mono.csproj
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
8 changes: 8 additions & 0 deletions SharpDL.Mono.userprefs
@@ -0,0 +1,8 @@
<Properties>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
<MonoDevelop.Ide.Workbench />
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
</Properties>
File renamed without changes.
8 changes: 8 additions & 0 deletions SharpDL.userprefs
@@ -0,0 +1,8 @@
<Properties>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
<MonoDevelop.Ide.Workbench />
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
</Properties>
77 changes: 77 additions & 0 deletions SharpDL/SharpDL.Mono.csproj
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{65A37BD8-0987-4E05-A48A-CF59E4DE3F41}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SharpDL</RootNamespace>
<AssemblyName>SharpDL</AssemblyName>
<FileAlignment>512</FileAlignment>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="SDL2#, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\Libs\SDL2#\SDL2#.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Game.cs" />
<Compile Include="GameTime.cs" />
<Compile Include="Logger.cs" />
<Compile Include="MessageBox.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Timer.cs" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<ItemGroup>
<ProjectReference Include="..\SharpDL.Graphics\SharpDL.Graphics.Mono.csproj">
<Project>{DA5E47BC-F509-40F5-9FC7-9C94D1D70809}</Project>
<Name>SharpDL.Graphics.Mono</Name>
</ProjectReference>
<ProjectReference Include="..\SharpDL.Events\SharpDL.Events.Mono.csproj">
<Project>{CBAC74B4-D9CD-4E22-AFC8-C9553423A6C5}</Project>
<Name>SharpDL.Events.Mono</Name>
</ProjectReference>
</ItemGroup>
</Project>

0 comments on commit 42d3fba

Please sign in to comment.