|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | | - <PropertyGroup> |
4 | | - <!-- override the PlatformToolset, which is set in the godot.vcxproj--> |
5 | | - <!-- Unknown matches to a set of conservative rules for the code analysis--> |
6 | | - <PlatformToolset>Unknown</PlatformToolset> |
7 | | - <LocalDebuggerCommand Condition="'$(LocalDebuggerCommand)' == ''">$(NMakeOutput)</LocalDebuggerCommand> |
8 | | - </PropertyGroup> |
9 | | - <!-- Build/Rebuild/Clean targets for NMake are defined in MSVC, so we need to provide them, when using MSBuild without MSVC targets --> |
10 | | - <Target Name="Build"> |
11 | | - <Exec Command="$(NMakeBuildCommandLine)"/> |
12 | | - </Target> |
13 | | - <Target Name="Rebuild"> |
14 | | - <Exec Command="$(NMakeReBuildCommandLine)"/> |
15 | | - </Target> |
16 | | - <Target Name="Clean"> |
17 | | - <Exec Command="$(NMakeCleanCommandLine)"/> |
18 | | - </Target> |
19 | | - <ItemDefinitionGroup> |
20 | | - <ClCompile> |
21 | | - <AdditionalOptions>$(AdditionalOptions)</AdditionalOptions> |
22 | | - <ForcedIncludeFiles>$(NMakeForcedIncludes)</ForcedIncludeFiles> |
23 | | - <ForcedUsingFiles>$(NMakeForcedUsingAssemblies)</ForcedUsingFiles> |
24 | | - <PreprocessorDefinitions>$(NMakePreprocessorDefinitions)</PreprocessorDefinitions> |
25 | | - </ClCompile> |
26 | | - <!-- Reflects what Platform.Common.props does. --> |
27 | | - <Link Condition="'$(Arch)' == 'arm64'"> |
28 | | - <TargetMachine>MachineARM64</TargetMachine> |
29 | | - </Link> |
30 | | - <Link Condition="'$(Arch)' == 'x86_64'"> |
31 | | - <TargetMachine>MachineX64</TargetMachine> |
32 | | - </Link> |
33 | | - <Link Condition="'$(Arch)' == 'x86_32'"> |
34 | | - <TargetMachine>MachineX86</TargetMachine> |
35 | | - </Link> |
36 | | - </ItemDefinitionGroup> |
| 3 | + <!-- Build/Rebuild/Clean targets for NMake are defined in MSVC, so we need to provide them, when using MSBuild without MSVC targets --> |
| 4 | + <Target Name="Build"> |
| 5 | + <Exec Command="$(NMakeBuildCommandLine)" |
| 6 | + WorkingDirectory="$(NMakeWorkingDirectory)"/> |
| 7 | + </Target> |
| 8 | + <Target Name="Rebuild"> |
| 9 | + <Exec Command="$(NMakeReBuildCommandLine)" |
| 10 | + WorkingDirectory="$(NMakeWorkingDirectory)"/> |
| 11 | + </Target> |
| 12 | + <Target Name="Clean"> |
| 13 | + <Exec Command="$(NMakeCleanCommandLine)" |
| 14 | + WorkingDirectory="$(NMakeWorkingDirectory)"/> |
| 15 | + </Target> |
| 16 | + <ItemDefinitionGroup> |
| 17 | + <!-- Reflects what Platform.Common.props does. --> |
| 18 | + <Link Condition="'$(Arch)' == 'arm64'"> |
| 19 | + <TargetMachine>MachineARM64</TargetMachine> |
| 20 | + </Link> |
| 21 | + <Link Condition="'$(Arch)' == 'x86_64'"> |
| 22 | + <TargetMachine>MachineX64</TargetMachine> |
| 23 | + </Link> |
| 24 | + <Link Condition="'$(Arch)' == 'x86_32'"> |
| 25 | + <TargetMachine>MachineX86</TargetMachine> |
| 26 | + </Link> |
| 27 | + </ItemDefinitionGroup> |
37 | 28 | </Project> |
0 commit comments