Browse Source

Added readme.txt to android and ios runtime nuget package.

pull/348/merge
Canming Huang 5 years ago
parent
commit
b95c6149eb
  1. 6
      CMakeLists.txt
  2. 2
      Emgu.CV.Contrib/BgSegm/BackgroundSubtractorCNT.cs
  3. 2
      Emgu.CV.Platform/iOS/CvInvokeIOS.cs
  4. 3
      platforms/nuget/Emgu.CV.runtime.android/readme.txt
  5. 3
      platforms/nuget/Emgu.CV.runtime.ios/readme.txt

6
CMakeLists.txt

@ -1403,7 +1403,8 @@ IF(HAVE_ANDROID_ALL_ARCH AND WIN32)
SET(EMGUCV_ANDROID_NUGET_FILE_LIST "${EMGUCV_ANDROID_NUGET_FILE_LIST}
<file src=\"Emgu.CV.runtime.android.targets\" target=\"build\\${EMGUCV_ANDROID_NUGET_ID}.targets\" />
<file src=\"..\\..\\..\\miscellaneous\\nuget_icon.png\" target=\"icon.png\" />
<file src=\"..\\..\\..\\${EMGUCV_LICENSE_FILE}\" target=\"\" />")
<file src=\"..\\..\\..\\${EMGUCV_LICENSE_FILE}\" target=\"\" />
<file src=\"readme.txt\" target=\"\" />")
SET(EMGUCV_ANDROID_NUGET_DEPENDENCY "
<dependencies>
<group targetFramework=\"MonoAndroid5.0\">
@ -1421,7 +1422,8 @@ IF(HAVE_IOS AND WIN32)
SET(EMGUCV_IOS_NUGET_FILE_LIST "${EMGUCV_IOS_NUGET_FILE_LIST}
<file src=\"Emgu.CV.runtime.ios.targets\" target=\"build\\${EMGUCV_IOS_NUGET_ID}.targets\" />
<file src=\"..\\..\\..\\miscellaneous\\nuget_icon.png\" target=\"icon.png\" />
<file src=\"..\\..\\..\\${EMGUCV_LICENSE_FILE}\" target=\"\" />")
<file src=\"..\\..\\..\\${EMGUCV_LICENSE_FILE}\" target=\"\" />
<file src=\"readme.txt\" target=\"\" />")
SET(EMGUCV_IOS_NUGET_DEPENDENCY "
<dependencies>
<group targetFramework=\"Xamarin.iOS10\">

2
Emgu.CV.Contrib/BgSegm/BackgroundSubtractorCNT.cs

@ -91,6 +91,6 @@ namespace Emgu.CV.BgSegm
ref IntPtr sharedPtr);
[DllImport(CvInvoke.ExternLibrary, CallingConvention = CvInvoke.CvCallingConvention)]
internal static extern void cveBackgroundSubtractorCNTRelease(ref IntPtr bgSubstractor, ref IntPtr sharedPtr);
internal static extern void cveBackgroundSubtractorCNTRelease(ref IntPtr bgSubtractor, ref IntPtr sharedPtr);
}
}

2
Emgu.CV.Platform/iOS/CvInvokeIOS.cs

@ -29,7 +29,7 @@ namespace Emgu.CV
/// </summary>
public static bool Init()
{
return CvInvoke.Init();
return _libraryLoaded;
}
/// <summary>

3
platforms/nuget/Emgu.CV.runtime.android/readme.txt

@ -0,0 +1,3 @@
## Setup
Please make sure to call Emgu.CV.CvInvokeAndroid.Init() before making any other calls to Emgu CV library on Android.

3
platforms/nuget/Emgu.CV.runtime.ios/readme.txt

@ -0,0 +1,3 @@
## Setup
Please make sure to call Emgu.CV.CvInvokeIOS.Init() before making any other calls to Emgu CV library on iOS.
Loading…
Cancel
Save