Ignore:
Timestamp:
Oct 5, 2014, 12:13:27 PM (5 years ago)
Author:
nmedfort
Message:

Removed some unnecessary makeAssign/makeVar calls. Had mystery bus error until I ran make clean.

File:
1 edited

Legend:

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

    r4210 r4212  
    5151set(Boost_USE_MULTITHREADED OFF)
    5252set(Boost_USE_STATIC_RUNTIME OFF)
    53 find_package(Boost 1.21 COMPONENTS system)
    54 include_directories("${Boost_INCLUDE_DIRS}")
    55 link_directories(${Boost_LIBRARY_DIR})
     53#find_package(Boost 1.21 COMPONENTS system)
     54
    5655add_library(PabloADT 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/codegenstate.cpp  pablo/symbol_generator.cpp pablo/ps_while.cpp pablo/printer_pablos.cpp)
    5756add_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/printer_re.cpp)
     
    7170target_link_libraries (CCADT PabloADT)
    7271target_link_libraries (icgrep PabloADT RegExpADT CCADT ${REQ_LLVM_LIBRARIES})
    73 IF (Boost_FOUND)
     72# If Boost is on the system, include the headers and libraries
     73IF(Boost_FOUND)
     74    include_directories("${Boost_INCLUDE_DIRS}")
     75    link_directories(${Boost_LIBRARY_DIR})
    7476    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_BOOST")
    7577    target_link_libraries (CCADT ${Boost_LIBRARIES})
Note: See TracChangeset for help on using the changeset viewer.