Skip to content

Commit

Permalink
Setup x64 and x86 build configurations, prevent AnyCPU builds for .NE…
Browse files Browse the repository at this point in the history
…T Framework example projects
  • Loading branch information
Marioalexsan committed Jun 7, 2024
1 parent bbd1197 commit 65df270
Show file tree
Hide file tree
Showing 14 changed files with 140 additions and 136 deletions.
208 changes: 98 additions & 110 deletions examples/Examples.sln

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/netcore/netcore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<Version>2.6.0</Version>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions examples/opengl/opengl.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<AssemblyName>opengl</AssemblyName>
<Configurations>Debug;Release;_WINDOWS_;_LINUX_;_OSX_</Configurations>
<Version>2.6.0</Version>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions examples/shader/shader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<AssemblyName>shader</AssemblyName>
<Configurations>Debug;Release;_WINDOWS_;_LINUX_;_OSX_</Configurations>
<Version>2.6.0</Version>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions examples/sound/sound.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<AssemblyName>sound</AssemblyName>
<Configurations>Debug;Release;_WINDOWS_;_LINUX_;_OSX_</Configurations>
<Version>2.6.0</Version>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions examples/sound_capture/sound_capture.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<AssemblyName>sound_capture</AssemblyName>
<Configurations>Debug;Release;_WINDOWS_;_LINUX_;_OSX_</Configurations>
<Version>2.6.0</Version>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down
26 changes: 0 additions & 26 deletions examples/visualbasic/visualbasic.sln

This file was deleted.

31 changes: 31 additions & 0 deletions examples/visualbasic/visualbasic.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,58 @@
<UseWindowsForms>true</UseWindowsForms>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
<Version>2.6.0</Version>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>.\</OutputPath>
<DocumentationFile>visualbasic.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutputPath>.\</OutputPath>
<DocumentationFile>visualbasic.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<OutputPath>.\</OutputPath>
<DocumentationFile>visualbasic.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DefineDebug>false</DefineDebug>
<DocumentationFile>visualbasic.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<DefineDebug>false</DefineDebug>
<DocumentationFile>visualbasic.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<DefineDebug>false</DefineDebug>
<DocumentationFile>visualbasic.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
<OutputPath>.\</OutputPath>
<DocumentationFile>visualbasic.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<OutputPath>.\</OutputPath>
<DocumentationFile>visualbasic.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
<OutputPath>bin\x64\Release\</OutputPath>
<DocumentationFile>visualbasic.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<OutputPath>bin\x64\Release\</OutputPath>
<DocumentationFile>visualbasic.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<OutputPath>.\</OutputPath>
<DocumentationFile>visualbasic.xml</DocumentationFile>
Expand Down
1 change: 1 addition & 0 deletions examples/window/window.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<AssemblyName>window</AssemblyName>
<Configurations>Debug;Release;_WINDOWS_;_LINUX_;_OSX_</Configurations>
<Version>2.6.0</Version>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/SFML.Audio/SFML.Audio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<SFMLModule>Audio</SFMLModule>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<Import Project="..\..\SFML.Module.props" />
Expand Down
1 change: 1 addition & 0 deletions src/SFML.Graphics/SFML.Graphics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<SFMLModule>Graphics</SFMLModule>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<Import Project="..\..\SFML.Module.props" />
Expand Down
1 change: 1 addition & 0 deletions src/SFML.Net/SFML.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<Title>SFML.Net</Title>
<IncludeBuildOutput>false</IncludeBuildOutput>
<NoWarn>$(NoWarn);NU5128</NoWarn>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/SFML.System/SFML.System.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<SFMLModule>System</SFMLModule>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<Import Project="..\..\SFML.Module.props" />
Expand Down
1 change: 1 addition & 0 deletions src/SFML.Window/SFML.Window.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<SFMLModule>Window</SFMLModule>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<Import Project="..\..\SFML.Module.props" />
Expand Down

0 comments on commit 65df270

Please sign in to comment.