xamarin-macios/scripts/generate-defines
Rolf Bjarne Kvinge f11253b5a2
[csharp] Port csharp scripts in src/ to .NET projects. (#21498)
2024-10-29 13:00:35 +01:00
..
README.md [csharp] Port csharp scripts in src/ to .NET projects. (#21498) 2024-10-29 13:00:35 +01:00
fragment.mk [csharp] Port csharp scripts in src/ to .NET projects. (#21498) 2024-10-29 13:00:35 +01:00
generate-defines.cs [csharp] Port csharp scripts in src/ to .NET projects. (#21498) 2024-10-29 13:00:35 +01:00
generate-defines.csproj [csharp] Port csharp scripts in src/ to .NET projects. (#21498) 2024-10-29 13:00:35 +01:00

README.md

generate-defines

This script takes the list of frameworks that are supported for a given platform, and generates a response file for the C# compiler with a HAS_<framework> define for each framework.

Example output file for iOS:

-d:HAS_ACCELERATE
-d:HAS_ACCESSIBILITY
-d:HAS_ACCESSORYSETUPKIT
-d:HAS_ACCOUNTS
[...]
-d:HAS_WEBKIT
-d:HAS_XKIT