Created
April 1, 2014 03:35
-
-
Save masazdream/9907234 to your computer and use it in GitHub Desktop.
OpenCVのNativeコードをAndroidでビルドする
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LOCAL_PATH := $(call my-dir) | |
| include $(CLEAR_VARS) | |
| OPENCV_CAMERA_MODULES:=off | |
| include C:/opencv241/OpenCV2.4.1/OpenCV-2.4.1/share/opencv/OpenCV.mk | |
| ifeq ("$(wildcard $(OPENCV_MK_PATH))","") | |
| #try to load OpenCV.mk from default install location | |
| #include $(TOOLCHAIN_PREBUILT_ROOT)/user/share/OpenCV/OpenCV.mk | |
| include C:/opencv241/OpenCV2.4.1/OpenCV-2.4.1/share/opencv/OpenCV.mk | |
| else | |
| include $(OPENCV_MK_PATH) | |
| endif | |
| LOCAL_C_INCLUDES += $(LOCAL_PATH) | |
| LOCAL_SRC_FILES := IRClientAndroid.cpp | |
| LOCAL_MODULE := IRClientAndroid | |
| include $(BUILD_SHARED_LIBRARY) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment