| 1 |
<Project Sdk="Microsoft.NET.Sdk"> |
| 2 |
|
| 3 |
<PropertyGroup> |
| 4 |
<TargetFramework>net8.0</TargetFramework> |
| 5 |
<LangVersion>12</LangVersion> |
| 6 |
</PropertyGroup> |
| 7 |
|
| 8 |
<PropertyGroup> |
| 9 |
<!-- $(GodotProjectDir) would normally be defined by the Godot.NET.Sdk --> |
| 10 |
<GodotProjectDir>$(MSBuildProjectDirectory)</GodotProjectDir> |
| 11 |
<GodotProjectDirBase64 Condition=" $([MSBuild]::VersionGreaterThanOrEquals($(MSBuildAssemblyVersion), '17.3')) ">$([MSBuild]::ConvertToBase64('$(GodotProjectDir)'))</GodotProjectDirBase64> |
| 12 |
<!-- For compiling GetGodotPropertyDefaultValues. --> |
| 13 |
<DefineConstants>$(DefineConstants);TOOLS</DefineConstants> |
| 14 |
</PropertyGroup> |
| 15 |
|
| 16 |
<PropertyGroup> |
| 17 |
<!-- The emitted files are not part of the compilation nor design. |
| 18 |
They're only for peeking at the generated sources. Sometimes the |
| 19 |
emitted files get corrupted, but that won't break anything. --> |
| 20 |
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> |
| 21 |
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GeneratedFiles</CompilerGeneratedFilesOutputPath> |
| 22 |
</PropertyGroup> |
| 23 |
|
| 24 |
<ItemGroup> |
| 25 |
<ProjectReference Include="..\..\..\glue\GodotSharp\GodotSharp\GodotSharp.csproj"> |
| 26 |
<Private>False</Private> |
| 27 |
</ProjectReference> |
| 28 |
<ProjectReference Include="..\Godot.SourceGenerators\Godot.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" /> |
| 29 |
</ItemGroup> |
| 30 |
|
| 31 |
<!-- This file is imported automatically when using PackageReference to |
| 32 |
reference Godot.SourceGenerators, but not when using ProjectReference --> |
| 33 |
<Import Project="..\Godot.SourceGenerators\Godot.SourceGenerators.props" /> |
| 34 |
|
| 35 |
</Project> |