comparison lib/ExecutionEngine/Interpreter/CMakeLists.txt @ 0:95c75e76d11b

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children 54457678186b
comparison
equal deleted inserted replaced
-1:000000000000 0:95c75e76d11b
1 # Make sure that the path to libffi headers is on the command
2 # line. That path can be a compiler's non-default path even when
3 # FFI_INCLUDE_DIR was not used, because cmake has its own paths for
4 # searching for headers (CMAKE_SYSTEM_INCLUDE_PATH, for instance):
5 if( FFI_INCLUDE_PATH )
6 include_directories( ${FFI_INCLUDE_PATH} )
7 endif()
8
9 add_llvm_library(LLVMInterpreter
10 Execution.cpp
11 ExternalFunctions.cpp
12 Interpreter.cpp
13 )
14
15 if( LLVM_ENABLE_FFI )
16 target_link_libraries( LLVMInterpreter ${FFI_LIBRARY_PATH} )
17 endif()
18
19 add_dependencies(LLVMInterpreter intrinsics_gen)