cmake jni
02 March 2014
cmake_minimum_required(VERSION 2.8)
add_library(TestNative SHARED
TestNative.cpp)
find_package(JNI)
if (JNI_FOUND)
include_directories(${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH2})
endif (JNI_FOUND)
blog comments powered by Disqus