feat: Enable to build engine and modeling related project on any platform (#2237)

This commit is contained in:
Jakub Ławreszuk 2024-05-22 22:48:29 +00:00 коммит произвёл GitHub
Родитель f27f534646
Коммит f33bcdefba
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
5 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -59,7 +59,7 @@ Ask for help or report issues:
### Prerequisites
1. **Latest** [Git](https://git-scm.com/downloads) **with Large File Support** selected in the setup on the components dialog and for convenience a git UI client like [GitExtensions](https://gitextensions.github.io/).
2. [.NET SDK 8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
2. [.NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
- Run `dotnet --info` in a console or powershell window to see which versions you have installed
3. [Visual Studio 2022](https://www.visualstudio.com/downloads/) with the following workloads:
- `.NET desktop development` with `.NET Framework 4.7.2 targeting pack` (should be enabled by default)
@ -69,7 +69,6 @@ Ask for help or report issues:
- `C++/CLI support for v143 build tools (Latest)` **(not enabled by default)**
- Optional (to target iOS/Android): `.NET Multi-paltform App UI development` and `Android SDK setup` individual component (enabled by default), then in Visual Studio go to `Tools > Android > Android SDK Manager` and install `NDK` (version 20.1+) from `Tools` tab.
- Optional (to build VSIX package): `Visual Studio extension development`
4. **[FBX SDK 2019.0 VS2015](https://www.autodesk.com/developer-network/platform-technologies/fbx-sdk-2019-0)**
### Build Stride

Просмотреть файл

@ -4,7 +4,6 @@
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>$(StrideAssemblyProcessorDefaultOptions)</StrideAssemblyProcessorOptions>
<TargetFramework>$(StrideXplatEditorTargetFramework)</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>
<ItemGroup>

Просмотреть файл

@ -57,7 +57,8 @@
<Platform>AnyCPU</Platform>
</PropertyGroup>
<PropertyGroup Condition=" '$(StrideRuntime)' == 'true' ">
<PropertyGroup Condition=" '$(StrideRuntime)' == 'true' ">
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<!-- Add net8.0 no matter what (needed for references) -->
<StrideRuntimeTargetFrameworks>net8.0</StrideRuntimeTargetFrameworks>
<StrideRuntimeTargetFrameworks Condition="$(_StridePlatforms.Contains(';Windows;')) And '$(StrideExplicitWindowsRuntime)' == 'true'">$(StrideRuntimeTargetFrameworks);net8.0-windows7.0</StrideRuntimeTargetFrameworks>

Просмотреть файл

@ -4,7 +4,6 @@
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>$(StrideAssemblyProcessorDefaultOptions)</StrideAssemblyProcessorOptions>
<TargetFramework>$(StrideXplatEditorTargetFramework)</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>
<ItemGroup>

Просмотреть файл

@ -4,7 +4,6 @@
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>$(StrideAssemblyProcessorDefaultOptions)</StrideAssemblyProcessorOptions>
<TargetFramework>$(StrideXplatEditorTargetFramework)</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>
<ItemGroup>