mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-01-08 23:55:33 +00:00
Add support for SDL2-CS.Settings.props, for custom build options. (#214)
Based on FNA.Settings.props.
This commit is contained in:
parent
22301b61f4
commit
f636c6175d
|
@ -10,6 +10,14 @@
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<SDLSettingsPropsFilePath>$(SolutionDir)SDL-CS.Settings.props</SDLSettingsPropsFilePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(SDLSettingsPropsFilePath)" Condition="Exists('$(SDLSettingsPropsFilePath)')" />
|
||||||
|
<Target Name="ValidatePropsFilePath" BeforeTargets="BeforeBuild">
|
||||||
|
<Message Importance="High" Text="No property overrides found at '$(SDLSettingsPropsFilePath)'" Condition="!Exists('$(SDLSettingsPropsFilePath)')" />
|
||||||
|
<Message Importance="High" Text="Loaded property overrides from '$(SDLSettingsPropsFilePath)'" Condition="Exists('$(SDLSettingsPropsFilePath)')" />
|
||||||
|
</Target>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="src\SDL2.cs" />
|
<Compile Include="src\SDL2.cs" />
|
||||||
<Compile Include="src\SDL2_image.cs" />
|
<Compile Include="src\SDL2_image.cs" />
|
||||||
|
|
Loading…
Reference in a new issue