Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Our [Roadmap](https://doc.stride3d.net/latest/en/contributors/roadmap.html) comm
- **Desktop development with C++** with:
- **Windows 11 SDK (10.0.22621.0)** or a later version (should be enabled by default)
- **MSVC v143 - VS2022 C++ x64/x86 build tools (Latest)** (should be enabled by default)
- **MSVC v143 - VS2022 C++ ARM64 build tools (Latest)**
- *Optional* **MSVC v143 - VS 2022 C++ ARM64/ARM64EC build tools (latest)** *(not enabled by default)*
- **C++/CLI support for v143 build tools (Latest)** *(not enabled by default)*
- *Optional* (to target iOS/Android): **.NET Multi-platform App UI development** and the **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 the `Tools` tab.
- *Optional* (to build the VSIX package): **Visual Studio extension development**
Expand Down
2 changes: 1 addition & 1 deletion build/Stride.build
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Example of use:
<StrideVisualStudioSolution>$(StrideRoot)build\Stride.VisualStudio</StrideVisualStudioSolution>
<StrideSolutionLauncher>$(StrideRoot)build\Stride.Launcher</StrideSolutionLauncher>
<StridePlatforms Condition="'$(StridePlatforms)' == ''">Windows</StridePlatforms>
<BuildProperties>Configuration=Release;NoWarn=1591;DeployExtension=false;StridePlatforms=$([MSBuild]::Escape('$(StridePlatforms)'));StrideGraphicsApiDependentBuildAll=$(StrideGraphicsApiDependentBuildAll)</BuildProperties>
<BuildProperties>Configuration=Release;NoWarn=1591;DeployExtension=false;StridePlatforms=$([MSBuild]::Escape('$(StridePlatforms)'));StrideGraphicsApiDependentBuildAll=$(StrideGraphicsApiDependentBuildAll);StrideNativeWindowsArm64Enabled=true</BuildProperties>
<StrideSign Condition="'$(StrideSign)' == ''">true</StrideSign>
<BuildProperties Condition="'$(StrideSign)' != ''">$(BuildProperties);StrideSign=$(StrideSign)</BuildProperties>
<NuGetPath>$(MSBuildThisFileDirectory).nuget\NuGet.exe</NuGetPath>
Expand Down
20 changes: 18 additions & 2 deletions sources/native/Stride.Native.targets
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,25 @@

<!--<StrideNativeOutputPath>$([MSBuild]::MakeRelative('$(OutputPath)', '$(StridePackageStridePlatformBin)\'))</StrideNativeOutputPath>-->
<AllowedOutputExtensionsInPackageBuildOutputFolder>.so; .a; $(AllowedOutputExtensionsInPackageBuildOutputFolder)</AllowedOutputExtensionsInPackageBuildOutputFolder>

<StrideNativeWindowsArm64Enabled Condition="'$(StrideNativeWindowsArm64Enabled)' == ''">true</StrideNativeWindowsArm64Enabled>
</PropertyGroup>

<!-- To keep MSVC build tools for Arm64 optional we enable it by default only on hosts running on Arm64 -->
<Choose>
<When Condition="'$(StrideNativeWindowsArm64Enabled)' == ''">
<Choose>
<When Condition="$([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture) == 'Arm64'">
<PropertyGroup>
<StrideNativeWindowsArm64Enabled>true</StrideNativeWindowsArm64Enabled>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<StrideNativeWindowsArm64Enabled>false</StrideNativeWindowsArm64Enabled>
</PropertyGroup>
</Otherwise>
</Choose>
</When>
</Choose>

<Choose>
<When Condition="'$(TargetFramework)' == '$(StrideFrameworkUWP)'">
Expand Down