зеркало из 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:
|
||||
$(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)]
|
||||
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);
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -5,7 +5,7 @@ namespace Urho
|
|||
{
|
||||
internal static class Consts
|
||||
{
|
||||
#if __IOS__
|
||||
#if IOS
|
||||
public const string NativeImport = "@rpath/Urho.framework/Urho";
|
||||
#else
|
||||
public const string NativeImport = "mono-urho";
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<DefineConstants>DEBUG;__MOBILE__;__IOS__;IOS;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
|
@ -31,6 +31,7 @@
|
|||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DefineConstants>__MOBILE__;__IOS__;IOS;</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче