0.2.0-dev Download ZIP
38 lines ·1.7 KB Raw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 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 | <!-- check get_platforms in each msvs.py for possible value of those conditions --> |
| 27 | <!-- MSVC Platform.Common.props for possible TargetMachine values --> |
| 28 | <Link Condition="'$(Platform)' == 'arm64'"> |
| 29 | <TargetMachine>MachineARM64</TargetMachine> |
| 30 | </Link> |
| 31 | <Link Condition="'$(Platform)' == 'x64'"> |
| 32 | <TargetMachine>MachineX64</TargetMachine> |
| 33 | </Link> |
| 34 | <Link Condition="'$(Platform)' == 'Win32'"> |
| 35 | <TargetMachine>MachineX86</TargetMachine> |
| 36 | </Link> |
| 37 | </ItemDefinitionGroup> |
| 38 | </Project> |