зеркало из https://github.com/xamarin/urho.git
Add "IOS" to Urho.iOS.csproj
This commit is contained in:
Родитель
ce136ab797
Коммит
4dd3c656cf
3
MakeiOS
3
MakeiOS
|
@ -60,3 +60,6 @@ events.o:
|
||||||
|
|
||||||
ApplicationProxy.o:
|
ApplicationProxy.o:
|
||||||
$(CPP) -c -o $(OUTPUT_DIR)/ApplicationProxy.o bindings/Native/ApplicationProxy.cpp
|
$(CPP) -c -o $(OUTPUT_DIR)/ApplicationProxy.o bindings/Native/ApplicationProxy.cpp
|
||||||
|
|
||||||
|
Urho.iOS.dll:
|
||||||
|
/Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool -v build "--configuration:Release" -p:Urho.iOS Urho.sln
|
|
@ -22,7 +22,7 @@ namespace Urho.Droid
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
public delegate int SdlCallback(IntPtr context);
|
public delegate int SdlCallback(IntPtr context);
|
||||||
|
|
||||||
[DllImport("mono-urho", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(Consts.NativeImport, CallingConvention = CallingConvention.Cdecl)]
|
||||||
internal static extern void RegisterSdlLauncher(SdlCallback callback);
|
internal static extern void RegisterSdlLauncher(SdlCallback callback);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace Urho
|
||||||
{
|
{
|
||||||
internal static class Consts
|
internal static class Consts
|
||||||
{
|
{
|
||||||
#if __IOS__
|
#if IOS
|
||||||
public const string NativeImport = "@rpath/Urho.framework/Urho";
|
public const string NativeImport = "@rpath/Urho.framework/Urho";
|
||||||
#else
|
#else
|
||||||
public const string NativeImport = "mono-urho";
|
public const string NativeImport = "mono-urho";
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug</OutputPath>
|
<OutputPath>bin\Debug</OutputPath>
|
||||||
<DefineConstants>DEBUG;</DefineConstants>
|
<DefineConstants>DEBUG;__MOBILE__;__IOS__;IOS;</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
|
@ -31,6 +31,7 @@
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<DocumentationFile>
|
<DocumentationFile>
|
||||||
</DocumentationFile>
|
</DocumentationFile>
|
||||||
|
<DefineConstants>__MOBILE__;__IOS__;IOS;</DefineConstants>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
|
Загрузка…
Ссылка в новой задаче