Changeset 4908


Ignore:
Timestamp:
Jan 12, 2016, 8:45:19 AM (3 years ago)
Author:
cameron
Message:

Turn off predefined UCD functions by default

File:
1 edited

Legend:

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

    r4907 r4908  
    1616option(ENABLE_MULTIPLEXING "Compiling the Multiplexing Module")
    1717option(USE_BOOST_MMAP "Using mmap from Boost.Iostreams")
    18 option(DISABLE_PREGENERATED_UCD_FUNCTIONS "Disable compiling the pregenerated UCD functions")
     18option(ENABLE_PREGENERATED_UCD_FUNCTIONS "Enable compiling the pregenerated UCD functions")
    1919
    2020
     
    8686set(PRECOMPILED_FILES "")
    8787
    88 IF(DISABLE_PREGENERATED_UCD_FUNCTIONS)
     88IF(NOT ENABLE_PREGENERATED_UCD_FUNCTIONS)
    8989set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDISABLE_PREGENERATED_UCD_FUNCTIONS")
    90 MESSAGE("Disabling predefined UCD functions...")
    9190ELSE()
    92 
     91MESSAGE("Enabling predefined UCD functions...")
    9392# add the executable
    9493add_executable(generate_predefined_ucd_functions generate_predefined_ucd_functions.cpp)
     
    116115
    117116add_executable(icgrep icgrep.cpp toolchain.cpp do_grep.cpp ${PRECOMPILED_FILES})
    118 IF(NOT DISABLE_PREGENERATED_UCD_FUNCTIONS)
     117IF(ENABLE_PREGENERATED_UCD_FUNCTIONS)
    119118add_dependencies(icgrep run_generate_predefined_ucd_functions)
    120119ENDIF()
Note: See TracChangeset for help on using the changeset viewer.