xamarin-macios/tests/bindings-framework-test/XTest.framework.linkwith.cs

23 строки
622 B
C#

using System;
#if __UNIFIED__
using ObjCRuntime;
#else
using MonoTouch.ObjCRuntime;
#endif
using System.Runtime.InteropServices;
#if __UNIFIED__
[assembly: LinkWith ("XTest.framework", Frameworks = LinkWithConstants.Frameworks)]
[assembly: LinkWith ("XStaticObjectTest.framework", LinkerFlags = "-lz", Frameworks = LinkWithConstants.Frameworks)]
[assembly: LinkWith ("XStaticArTest.framework", Frameworks = LinkWithConstants.Frameworks)]
#endif
static class LinkWithConstants
{
#if __WATCHOS__
public const string Frameworks = "CoreLocation";
#else
public const string Frameworks = "CoreLocation ModelIO";
#endif
}