mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Fix .sln project generation logic for Rider to support all OS and all C++ toolchains
Co-authored-by: Andreia Gaita <shana@spoiledcat.net> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
19
misc/msvs/nmake.substitution.props
Normal file
19
misc/msvs/nmake.substitution.props
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<!-- override the PlatformToolset, which is set in the godot.vcxproj-->
|
||||
<!-- Unknown matches to a set of conservative rules for the code analysis-->
|
||||
<PlatformToolset>Unknown</PlatformToolset>
|
||||
<LocalDebuggerCommand Condition="'$(LocalDebuggerCommand)' == ''">$(NMakeOutput)</LocalDebuggerCommand>
|
||||
</PropertyGroup>
|
||||
<!-- Build/Rebuild/Clean targets for NMake are defined in MSVC, so we need to provide them, when using MSBuild without MSVC targets -->
|
||||
<Target Name="Build">
|
||||
<Exec Command="$(NMakeBuildCommandLine)"/>
|
||||
</Target>
|
||||
<Target Name="Rebuild">
|
||||
<Exec Command="$(NMakeReBuildCommandLine)"/>
|
||||
</Target>
|
||||
<Target Name="Clean">
|
||||
<Exec Command="$(NMakeCleanCommandLine)"/>
|
||||
</Target>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user