Displaying 3 results from an estimated 3 matches for "java_include_path2".
Did you mean:
java_include_path
2010 Nov 03
0
[LLVMdev] LLVM Cmake module?
...s:
> include_directories( ${LLVM_ROOT}/include )
> link_directories( ${LLVM_ROOT}/lib )
> # Make sure to include the headers required for Java and JNI.
> FIND_PACKAGE(Java REQUIRED)
> FIND_PACKAGE(JNI REQUIRED)
> INCLUDE_DIRECTORIES(${JAVA_INCLUDE_PATH})
> INCLUDE_DIRECTORIES(${JAVA_INCLUDE_PATH2})
> # Let's suppose we want to build a JIT compiler with support for
> # binary code (no interpreter):
> llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES jit native core)
> # Finally, we link the LLVM libraries to our executable:
> target_link_libraries(jllvm ${REQ_LLVM_LIBRAR...
2010 Nov 03
2
[LLVMdev] LLVM Cmake module?
[Please CC the mailing list]
Eli Gottlieb <eligottlieb at gmail.com> writes:
> OK, I'm just going to paste in my CMakeLists.txt file. Like I said,
> I'm building an LLVM install myself by untarring llvm, mkdir build in
> the root dir of the source, cd build/, cmake .., make.
>
>> cmake_minimum_required (VERSION 2.6)
>> project (libjllvm)
>>
2012 Jul 07
2
[LLVMdev] Problem in LLVM CMake modules
...nclude_directories( ${LLVM_ROOT}/include )
link_directories( ${LLVM_ROOT}/lib )
add_definitions( ${LLVM_DEFINITIONS} )
# Make sure to include the headers required for Java and JNI.
FIND_PACKAGE(Java REQUIRED)
FIND_PACKAGE(JNI REQUIRED)
INCLUDE_DIRECTORIES(${JAVA_INCLUDE_PATH})
INCLUDE_DIRECTORIES(${JAVA_INCLUDE_PATH2})
# Let's suppose we want to build a JIT compiler with support for
# binary code (no interpreter):
#llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES jit native)
llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES all)
# Finally, we link the LLVM libraries to our executable:
target_link_libra...