This commit is contained in:
EgorBo 2016-01-26 16:01:21 +03:00
Родитель ce136ab797
Коммит 4dd3c656cf
4 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -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" />