Skip to content

Commit

Permalink
rename Platform solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
nkast committed Dec 24, 2024
1 parent 33ba12a commit d507d15
Show file tree
Hide file tree
Showing 13 changed files with 35 additions and 35 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ jobs:
- name: Build Ref
run: dotnet build Platforms\Xna.Framework.Ref.csproj --property:WarningLevel=1
- name: Build BlazorGL
run: dotnet build XNA.Framework.Blazor.sln --property:WarningLevel=1
run: dotnet build Xna.Platform.Blazor.GL.sln --property:WarningLevel=1
- name: Build WindowsDX11
run: dotnet build XNA.Framework.WindowsDX11.sln --property:WarningLevel=1
run: dotnet build Xna.Platform.WinForms.DX11.sln --property:WarningLevel=1
- name: Build DesktopGL
run: dotnet build XNA.Framework.DesktopGL.sln --property:WarningLevel=1
run: dotnet build Xna.Platform.SDL2.GL.sln --property:WarningLevel=1
- name: Build iOS
run: dotnet build XNA.Framework.iOS.sln --property:WarningLevel=1
run: dotnet build Xna.Platform.iOS.GL.sln --property:WarningLevel=1
- name: Build Android
run: dotnet build XNA.Framework.Android.sln --property:WarningLevel=1
run: dotnet build Xna.Platform.Android.GL.sln --property:WarningLevel=1
# - name: Build Cardboard
# run: dotnet build XNA.Framework.Cardboard.sln --property:WarningLevel=1
# run: dotnet build Xna.Platform.Cardboard.GL.sln --property:WarningLevel=1
# - name: Build Windows UAP10
# run: dotnet msbuild XNA.Framework.UAP.sln --property:WarningLevel=1
# run: dotnet msbuild Xna.Platform.UAP.DX11.sln --property:WarningLevel=1

# - name: Test
# run: dotnet test --no-build --verbosity normal
2 changes: 1 addition & 1 deletion BuildNuget.bat
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dotnet pack src\Xna.Framework.Content.Pipeline.Media\Xna.Framework.Content.Pipel

dotnet pack Platforms\Xna.Framework.WindowsDX11.csproj --output NuGetPackages\Output\ /t:Build /p:Configuration=Release
dotnet pack Platforms\Xna.Framework.DesktopGL.csproj --output NuGetPackages\Output\ /t:Build /p:Configuration=Release
dotnet pack XNA.Framework.Blazor.sln --output NuGetPackages\Output\ /t:Build /p:Configuration=Release
dotnet pack Xna.Platform.Blazor.GL.sln --output NuGetPackages\Output\ /t:Build /p:Configuration=Release
dotnet pack Platforms\Xna.Framework.Ref.csproj --output NuGetPackages\Output\ /t:Build /p:Configuration=Release
dotnet pack Platforms\XNA.Framework.Oculus.OvrDX11.csproj --output NuGetPackages\Output\ /t:Build /p:Configuration=Release

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
54 changes: 27 additions & 27 deletions default.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@
<exec program="dotnet" commandline="build src\Xna.Framework.XR\Xna.Framework.XR.csproj /t:Clean /p:Configuration=Release" />
<exec program="dotnet" commandline="build src\Xna.Framework.Design\Xna.Framework.Design.csproj /t:Clean /p:Configuration=Release" />

<exec program="dotnet" commandline="build XNA.Framework.Blazor.sln /t:Clean /p:Configuration=Release" />
<exec program="dotnet" commandline="build Xna.Platform.Blazor.GL.sln /t:Clean /p:Configuration=Release" />

<exec program="dotnet" commandline="build XNA.Framework.WindowsDX11.sln /t:Clean /p:Configuration=Release" />
<exec program="dotnet" commandline="build Xna.Platform.WinForms.DX11.sln /t:Clean /p:Configuration=Release" />

<exec program="${msbuild17}" commandline='XNA.Framework.UAP.sln /t:Clean /p:Configuration=Release /p:Platform="Any CPU"' />
<exec program="${msbuild17}" commandline='Xna.Platform.UAP.DX11.sln /t:Clean /p:Configuration=Release /p:Platform="Any CPU"' />

<exec program="dotnet" commandline="build XNA.Framework.DesktopGL.sln /t:Clean /p:Configuration=Release" />
<exec program="dotnet" commandline="build Xna.Platform.SDL2.GL.sln /t:Clean /p:Configuration=Release" />

<exec program="dotnet" commandline="build XNA.Framework.Android.sln /t:Clean /p:Configuration=Release" />
<exec program="dotnet" commandline="build XNA.Framework.Cardboard.sln /t:Clean /p:Configuration=Release" />
<exec program="dotnet" commandline="build Xna.Platform.Android.GL.sln /t:Clean /p:Configuration=Release" />
<exec program="dotnet" commandline="build Xna.Platform.Cardboard.GL.sln /t:Clean /p:Configuration=Release" />

<exec program="dotnet" commandline="build XNA.Framework.iOS.sln /t:Clean /p:Configuration=Release" />
<exec program="dotnet" commandline="build Xna.Platform.iOS.GL.sln /t:Clean /p:Configuration=Release" />

<exec program="${msbuild17}" commandline="XNA.Framework.Android.Xamarin.sln /t:Clean /p:Configuration=Release" />
<exec program="${msbuild17}" commandline="XNA.Framework.iOS.Xamarin.sln /t:Clean /p:Configuration=Release" />
<exec program="${msbuild17}" commandline="Xna.Platform.Android.GL.Xamarin.sln /t:Clean /p:Configuration=Release" />
<exec program="${msbuild17}" commandline="Xna.Platform.iOS.GL.Xamarin.sln /t:Clean /p:Configuration=Release" />

</target>

Expand Down Expand Up @@ -86,7 +86,7 @@

<exec program="dotnet" commandline="pack Platforms\Xna.Framework.WindowsDX11.csproj --output ${project::get-base-directory()}\Artifacts\Packages\ /t:Build /p:Configuration=Release" />
<exec program="dotnet" commandline="pack Platforms\Xna.Framework.DesktopGL.csproj --output ${project::get-base-directory()}\Artifacts\Packages\ /t:Build /p:Configuration=Release" />
<exec program="dotnet" commandline="pack XNA.Framework.Blazor.sln --output ${project::get-base-directory()}\Artifacts\Packages\ /t:Build /p:Configuration=Release" />
<exec program="dotnet" commandline="pack Xna.Platform.Blazor.GL.sln --output ${project::get-base-directory()}\Artifacts\Packages\ /t:Build /p:Configuration=Release" />
<exec program="dotnet" commandline="pack Platforms\XNA.Framework.Oculus.OvrDX11.csproj --output ${project::get-base-directory()}\Artifacts\Packages\ /t:Build /p:Configuration=Release" />

<exec program="dotnet" commandline="pack Platforms\Xna.Framework.Cardboard.csproj --output ${project::get-base-directory()}\Artifacts\Packages\ /t:Build /p:Configuration=Release" />
Expand Down Expand Up @@ -133,15 +133,15 @@

<target name="build_blazorGL" description="Build BlazorGL">

<exec program="dotnet" commandline="build XNA.Framework.Blazor.sln /t:restore" />
<exec program="dotnet" commandline="build XNA.Framework.Blazor.sln /t:Build /p:Configuration=Release" />
<exec program="dotnet" commandline="build Xna.Platform.Blazor.GL.sln /t:restore" />
<exec program="dotnet" commandline="build Xna.Platform.Blazor.GL.sln /t:Build /p:Configuration=Release" />

</target>

<target name="build_windows" description="Build Windows">

<exec program="dotnet" commandline="build XNA.Framework.WindowsDX11.sln /t:restore" />
<exec program="dotnet" commandline="build XNA.Framework.WindowsDX11.sln /t:Build /p:Configuration=Release /m" />
<exec program="dotnet" commandline="build Xna.Platform.WinForms.DX11.sln /t:restore" />
<exec program="dotnet" commandline="build Xna.Platform.WinForms.DX11.sln /t:Build /p:Configuration=Release /m" />

</target>

Expand All @@ -158,34 +158,34 @@
<if test="${os == 'MacOS'}">
<if test="${file::exists('/Developer/MonoTouch/MSBuild/Xamarin.ObjcBinding.CSharp.targets')
or file::exists('/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Xamarin.ObjcBinding.CSharp.targets')}">
<exec program="msbuild" commandline="XNA.Framework.Xamarin.iOS.sln /t:Clean /p:Configuration=Release" />
<exec program="msbuild" commandline="XNA.Framework.Xamarin.iOS.sln /t:Build /p:Configuration=Release" />
<exec program="msbuild" commandline="Xna.Platform.iOS.GL.Xamarin.sln /t:Clean /p:Configuration=Release" />
<exec program="msbuild" commandline="Xna.Platform.iOS.GL.Xamarin.sln /t:Build /p:Configuration=Release" />
</if>
</if>
-->

<exec program="${msbuild17}" commandline="XNA.Framework.iOS.Xamarin.sln /t:restore" />
<exec program="${msbuild17}" commandline="XNA.Framework.iOS.Xamarin.sln /t:Build /p:Configuration=Release" />
<exec program="${msbuild17}" commandline="Xna.Platform.iOS.GL.Xamarin.sln /t:restore" />
<exec program="${msbuild17}" commandline="Xna.Platform.iOS.GL.Xamarin.sln /t:Build /p:Configuration=Release" />

<exec program="dotnet" commandline='build XNA.Framework.iOS.sln /t:Restore /p:Configuration=Release' />
<exec program="dotnet" commandline='build XNA.Framework.iOS.sln /t:Build /p:Configuration=Release' />
<exec program="dotnet" commandline='build Xna.Platform.iOS.GL.sln /t:Restore /p:Configuration=Release' />
<exec program="dotnet" commandline='build Xna.Platform.iOS.GL.sln /t:Build /p:Configuration=Release' />

</target>

<target name="build_android" description="Build Android">

<if test="${file::exists('C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Novell\Novell.MonoDroid.CSharp.targets')}">
<exec program="${msbuild17}" commandline="XNA.Framework.Android.Xamarin.sln /t:Build /p:Configuration=Release" />
<exec program="${msbuild17}" commandline="Xna.Platform.Android.GL.Xamarin.sln /t:Build /p:Configuration=Release" />
</if>

<exec program="dotnet" commandline='build XNA.Framework.Android.sln /t:Restore /p:Configuration=Release' />
<exec program="dotnet" commandline='build XNA.Framework.Android.sln /t:Build /p:Configuration=Release' />
<exec program="dotnet" commandline='build Xna.Platform.Android.GL.sln /t:Restore /p:Configuration=Release' />
<exec program="dotnet" commandline='build Xna.Platform.Android.GL.sln /t:Build /p:Configuration=Release' />

</target>

<target name="build_cardboard" description="Build Cardboard">
<exec program="dotnet" commandline='build XNA.Framework.Cardboard.sln /t:Restore /p:Configuration=Release' />
<exec program="dotnet" commandline='build XNA.Framework.Cardboard.sln /t:Build /p:Configuration=Release' />
<exec program="dotnet" commandline='build Xna.Platform.Cardboard.GL.sln /t:Restore /p:Configuration=Release' />
<exec program="dotnet" commandline='build Xna.Platform.Cardboard.GL.sln /t:Build /p:Configuration=Release' />
</target>

<target name="build_windowsUAP10" description="Build Windows 10 UAP">
Expand All @@ -194,8 +194,8 @@
<exec program="${msbuild17}" commandline='Platforms\XNA.Framework.UAP.csproj /t:Restore /p:Configuration=Release' />
<exec program="${msbuild17}" commandline='Platforms\XNA.Framework.UAP.csproj /p:Configuration=Release' />
-->
<exec program="${msbuild17}" commandline='XNA.Framework.UAP.sln /t:Restore /p:Configuration=Release' />
<exec program="${msbuild17}" commandline='XNA.Framework.UAP.sln /t:Build /p:Configuration=Release /p:Platform="Any CPU"' />
<exec program="${msbuild17}" commandline='Xna.Platform.UAP.DX11.sln /t:Restore /p:Configuration=Release' />
<exec program="${msbuild17}" commandline='Xna.Platform.UAP.DX11.sln /t:Build /p:Configuration=Release /p:Platform="Any CPU"' />

</target>

Expand Down

0 comments on commit d507d15

Please sign in to comment.