Skip to content

Commit

Permalink
Implement web platform (JSIL) stubs and update Protobuild
Browse files Browse the repository at this point in the history
  • Loading branch information
hach-que committed Apr 15, 2014
1 parent 73fc295 commit 83c0355
Show file tree
Hide file tree
Showing 34 changed files with 1,021 additions and 39 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -76,3 +76,6 @@ MonoGame.Framework.WindowsPhone.sln
MonoGame.Framework.Content.Pipeline.Windows.csproj
MonoGame.Framework.Content.Pipeline.Linux.csproj
MonoGame.Framework.Content.Pipeline.MacOS.csproj
MonoGame.Framework.Web.csproj
MonoGame.Framework.Web.sln
/ThirdParty/*.sln
8 changes: 4 additions & 4 deletions Build/Module.xml
Expand Up @@ -3,9 +3,9 @@
<Name>MonoGame.Framework</Name>
<ModuleAssemblies />
<DefaultAction>Generate</DefaultAction>
<SupportedPlatforms>Android,Linux,Ouya,PSMobile,Windows8,Windows,WindowsGL,WindowsPhone,iOS,MacOS</SupportedPlatforms>
<DefaultWindowsPlatforms>Android,Linux,Ouya,PSMobile,Windows8,Windows,WindowsGL,WindowsPhone,iOS</DefaultWindowsPlatforms>
<DefaultMacOSPlatforms>MacOS,iOS,WindowsGL,Android</DefaultMacOSPlatforms>
<DefaultLinuxPlatforms>Linux,WindowsGL</DefaultLinuxPlatforms>
<SupportedPlatforms>Android,Linux,Ouya,PSMobile,Windows8,Windows,WindowsGL,WindowsPhone,iOS,MacOS,Web</SupportedPlatforms>
<DefaultWindowsPlatforms>Android,Linux,Ouya,PSMobile,Windows8,Windows,WindowsGL,WindowsPhone,iOS,Web</DefaultWindowsPlatforms>
<DefaultMacOSPlatforms>MacOS,iOS,WindowsGL,Android,Web</DefaultMacOSPlatforms>
<DefaultLinuxPlatforms>Linux,WindowsGL,Web</DefaultLinuxPlatforms>
<DisableSynchronisation>true</DisableSynchronisation>
</ModuleInfo>
42 changes: 23 additions & 19 deletions Build/Projects/FrameworkReferences.definition
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<ExternalProject Name="FrameworkReferences">

<Platform Type="iOS">
<Reference Include="System.Core" />
<Reference Include="monotouch" />
<Reference Include="OpenTK" />
<Project
<Project
Name="Lidgren.Network.iOS"
Guid="734EAA48-F1CA-481A-B391-0285BC0E8B40"
Path="ThirdParty/Lidgren.Network/Lidgren.Network.iOS.csproj">
Expand All @@ -15,28 +15,28 @@
<ConfigurationMapping Old="AppStore" New="Release|Any CPU" />
</Project>
</Platform>

<Platform Type="Linux">
<Reference Include="System.Drawing" />
<Binary
Name="Tao.Sdl"
Name="Tao.Sdl"
Path="ThirdParty/GamepadConfig/Tao.Sdl.dll" />
<Binary
Name="OpenTK"
Path="ThirdParty/Dependencies/OpenTK.dll" />
<Project
<Project
Name="Lidgren.Network.Linux"
Guid="758CB33D-6EBD-41EA-BB0C-55B1C97A325F"
Path="ThirdParty/Lidgren.Network/Lidgren.Network.Linux.csproj" />
</Platform>

<Platform Type="MacOS">
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Binary
<Binary
Name="Tao.Sdl"
Path="ThirdParty/GamepadConfig/Tao.Sdl.dll" />
<Project
<Project
Name="Lidgren.Network.MacOS"
Guid="5C3DC4FF-FE5A-4B94-B4A6-6F79E63F3130"
Path="ThirdParty/Lidgren.Network/Lidgren.Network.MacOS.csproj" />
Expand All @@ -52,7 +52,7 @@
Guid="565129E0-4EE5-4F6F-B403-C3484C9740BE"
Path="ThirdParty/Lidgren.Network/Lidgren.Network.Android.csproj" />
</Platform>

<Platform Type="Ouya">
<Reference Include="Mono.Android" />
<Reference Include="mscorlib" />
Expand All @@ -66,17 +66,17 @@
Guid="565129E0-4EE5-4F6F-B403-C3484C9740BE"
Path="ThirdParty/Lidgren.Network/Lidgren.Network.Android.csproj" />
</Platform>

<Platform Type="PSMobile">
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Sce.PlayStation.Core" />
<Project
<Project
Name="Lidgren.Network.PSMobile"
Guid="167676EE-E2D5-440A-BB2B-EFBD02BC8493"
Path="ThirdParty/Lidgren.Network/Lidgren.Network.PSMobile.csproj" />
</Platform>

<Platform Type="Windows">
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
Expand Down Expand Up @@ -108,7 +108,7 @@
<Binary
Name="SharpDX.XInput"
Path="ThirdParty/Dependencies/SharpDX/Windows/SharpDX.XInput.dll" />
<Project
<Project
Name="Lidgren.Network.Windows"
Guid="AE483C29-042E-4226-BA52-D247CE7676DA"
Path="ThirdParty/Lidgren.Network/Lidgren.Network.Windows.csproj" />
Expand All @@ -135,7 +135,7 @@
Path="ThirdParty/Dependencies/SharpDX/Windows 8 Metro/SharpDX.XAudio2.dll" />
<Binary
Name="SharpDX.XInput"
Path="ThirdParty/Dependencies/SharpDX/Windows 8 Metro/SharpDX.XInput.dll" />
Path="ThirdParty/Dependencies/SharpDX/Windows 8 Metro/SharpDX.XInput.dll" />
</Platform>

<Platform Type="WindowsGL">
Expand All @@ -146,12 +146,12 @@
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Binary
Name="Tao.Sdl"
Name="Tao.Sdl"
Path="ThirdParty/GamepadConfig/Tao.Sdl.dll" />
<Binary
Name="OpenTK"
Path="ThirdParty/Dependencies/OpenTK.dll" />
<Project
<Project
Name="Lidgren.Network.Windows"
Guid="AE483C29-042E-4226-BA52-D247CE7676DA"
Path="ThirdParty/Lidgren.Network/Lidgren.Network.Windows.csproj" />
Expand All @@ -173,10 +173,14 @@
<Binary
Name="SharpDX.XAudio2"
Path="ThirdParty/Dependencies/SharpDX/Windows Phone/$(Platform)/SharpDX.XAudio2.dll" />
<Reference Include="Microsoft.Xna.Framework.GamerServices"
<Reference Include="Microsoft.Xna.Framework.GamerServices"
Aliases="MicrosoftXnaGamerServices" />
<Reference Include="Microsoft.Xna.Framework"
<Reference Include="Microsoft.Xna.Framework"
Aliases="MicrosoftXnaFramework" />
</Platform>


<Platform Type="Web">
<Reference Include="JSIL.Meta" />
</Platform>

</ExternalProject>

0 comments on commit 83c0355

Please sign in to comment.