Ignore:
Timestamp:
Aug 19, 2015, 12:15:30 PM (4 years ago)
Author:
cameron
Message:

Reorganize icgrep into RE/Pablo/IR passes, support -precompiled IR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/CMakeLists.txt

    r4725 r4734  
    4646# Let's suppose we want to build a JIT compiler with support for
    4747# binary code (no interpreter):
    48 llvm_map_components_to_libnames(REQ_LLVM_LIBRARIES mcjit native)
     48llvm_map_components_to_libnames(REQ_LLVM_LIBRARIES mcjit native IRReader)
    4949
    5050message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
     
    111111ENDIF()
    112112
    113 add_executable(icgrep icgrep.cpp do_grep.cpp compiler.cpp ${PRECOMPILED_FILES})
     113add_executable(icgrep icgrep.cpp do_grep.cpp ${PRECOMPILED_FILES})
    114114IF(NOT DISABLE_PREGENERATED_UCD_FUNCTIONS)
    115115add_dependencies(icgrep run_generate_predefined_ucd_functions)
    116116ENDIF()
    117 target_link_libraries (icgrep UCDlib PabloADT RegExpCompiler CCADT ${REQ_LLVM_LIBRARIES})
    118 
    119117IF(Boost_FOUND)
    120118    include_directories("${Boost_INCLUDE_DIRS}")
     
    122120    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_BOOST")
    123121ENDIF()
     122
     123target_link_libraries (icgrep UCDlib PabloADT RegExpCompiler CCADT ${REQ_LLVM_LIBRARIES})
     124
     125
    124126
    125127IF (ENABLE_MULTIPLEXING)
Note: See TracChangeset for help on using the changeset viewer.