You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Problem: Currently you can't build an engine using modern MSBuild, because C++/CLI is not supported here. Also Visual C++ is only available on Windows.
# not possible
dotnet build / dotnet msbuild Stride.sln
# instead we use .NET Framework msbuild
msbuild Stride.sln
Cause: When you take a look at Stride.Native.targets file is using WindowsDesktop.vcxproj project contains ONLYEMPTYdllmain file which is included to dedicated native library (e.g. for libstrideaudio.dll, libstridenavigation.dll etc)
Solution
Lines from 131 to 134 in Stride.Native.targets file can be modified to use clang or cmake tool. If implemented correctly that could allow to crosscompile on Linux (in the far future ofc, when Linux platform will be good enough supported) which is usefull for cheaper to execute CI/CD pipelines.
Solution benefits
No need to install legacy .NET Framework msbuild - you could build an engine using dotnet CLI simply using dotnet build
Reduction of complexity
Possibility to use more lightweight editors like VSCode for Stride source debugging
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Problem: Currently you can't build an engine using modern MSBuild, because C++/CLI is not supported here. Also Visual C++ is only available on Windows.
Cause: When you take a look at Stride.Native.targets file is using WindowsDesktop.vcxproj project contains ONLY EMPTY
dllmain
file which is included to dedicated native library (e.g. for libstrideaudio.dll, libstridenavigation.dll etc)Solution
Lines from 131 to 134 in Stride.Native.targets file can be modified to use clang or cmake tool. If implemented correctly that could allow to crosscompile on Linux (in the far future ofc, when Linux platform will be good enough supported) which is usefull for cheaper to execute CI/CD pipelines.
Solution benefits
dotnet build
The text was updated successfully, but these errors were encountered: