mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2024-12-23 03:35:26 +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>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</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>
|
||||
<Compile Include="src\SDL2.cs" />
|
||||
<Compile Include="src\SDL2_image.cs" />
|
||||
|
|
Loading…
Reference in a new issue