Ignore:
Timestamp:
Sep 29, 2014, 10:55:01 PM (5 years ago)
Author:
nmedfort
Message:

More refactoring. Moved CC and Pablo functions into their own folders. Rerun cmake to compile.

File:
1 edited

Legend:

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

    r4197 r4198  
    5353include(FindBoost)
    5454
    55 add_library(PabloADT pe_advance.cpp  pe_all.cpp  pe_and.cpp pe_call.cpp pe_charclass.cpp  pe_matchstar.cpp pe_scanthru.cpp pe_not.cpp  pe_or.cpp  pe_pabloe.cpp  pe_sel.cpp  pe_var.cpp  pe_xor.cpp ps_assign.cpp  ps_if.cpp  ps_pablos.cpp  ps_while.cpp printer_pablos.cpp)
     55add_library(PabloADT pablo/pablo_routines.cpp pablo/pe_advance.cpp pablo/pe_all.cpp pablo/pe_and.cpp pablo/pe_call.cpp pablo/pe_charclass.cpp  pablo/pe_matchstar.cpp pablo/pe_scanthru.cpp pablo/pe_not.cpp  pablo/pe_or.cpp  pablo/pe_pabloe.cpp  pablo/pe_sel.cpp  pablo/pe_var.cpp  pablo/pe_xor.cpp pablo/ps_assign.cpp  pablo/ps_if.cpp  pablo/ps_pablos.cpp  pablo/ps_while.cpp printer_pablos.cpp)
    5656
    5757add_library(RegExpADT re/re_alt.cpp re/re_cc.cpp re/re_end.cpp re/re_name.cpp re/re_parser.cpp re/re_re.cpp re/re_rep.cpp re/re_seq.cpp re/re_start.cpp re/parsefailure.cpp re/re_reducer.cpp re/re_nullable.cpp re/re_simplifier.cpp re/re_compiler.cpp re/symbol_generator.cpp printer_re.cpp)
     58
     59add_library(CCADT cc/cc_compiler.cpp)
    5860
    5961include_directories("${PROJECT_SOURCE_DIR}")
    6062include_directories("${PROJECT_SOURCE_DIR}/re")
     63include_directories("${PROJECT_SOURCE_DIR}/cc")
     64include_directories("${PROJECT_SOURCE_DIR}/pablo")
    6165include_directories("${PROJECT_SOURCE_DIR}/include")
    6266include_directories("${PROJECT_SOURCE_DIR}/include/simd-lib")
     
    6872
    6973# add the executable
    70 add_executable(icgrep icgrep.cpp llvm_gen.cpp llvm_gen_helper.cpp utf_encoding.cpp cc_compiler.cpp  cc_compiler_helper.cpp compiler.cpp utf8_encoder.cpp unicode_categories.h unicode_categories-flat.h unicode_categories-simple.h)
    71 
    72 target_link_libraries (icgrep PabloADT RegExpADT ${REQ_LLVM_LIBRARIES})
     74add_executable(icgrep icgrep.cpp llvm_gen.cpp llvm_gen_helper.cpp compiler.cpp utf_encoding.cpp utf8_encoder.cpp unicode_categories.h unicode_categories-flat.h unicode_categories-simple.h)
     75
     76target_link_libraries (CCADT PabloADT)
     77target_link_libraries (icgrep PabloADT RegExpADT CCADT ${REQ_LLVM_LIBRARIES})
    7378if (Boost_FOUND)
    7479    target_link_libraries (icgrep ${Boost_LIBRARIES})
Note: See TracChangeset for help on using the changeset viewer.