aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 7e10b6673a2ae8c7bab72402a7b808607aa3a6c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
cmake_minimum_required (VERSION 2.6)
project (native-java-agent)

set(OUTDIR ${PROJECT_BINARY_DIR}/out)
set(LIBRARY_OUTPUT_PATH ${OUTDIR})

find_package(JNI)
INCLUDE_DIRECTORIES(${JAVA_INCLUDE_PATH})
INCLUDE_DIRECTORIES(${JAVA_INCLUDE_PATH2})

add_library(nativejava SHARED nativejava.c methodentry.c methodentry.h)