2 if(NOT USE_SHAREDMEMORY_API)
3 message(STATUS "Enabling shared memory API")
4 set(USE_SHAREDMEMORY_API ON CACHE BOOL "" FORCE)
8 set(TOOLS_DIR "${PROJECT_SOURCE_DIR}/tools")
10 if(EXISTS "${TOOLS_DIR}/umurmur-monitor/CMakeLists.txt")
11 set(UMURMUR_MONITOR_DIR "${TOOLS_DIR}/umurmur-monitor")
12 option(BUILD_UMURMUR_MONITOR "Build the umurmur-monitor utility" OFF)
15 if(EXISTS "${TOOLS_DIR}/numurmon/CMakeLists.txt")
16 set(NUMURMON_DIR "${TOOLS_DIR}/numurmon")
17 option(BUILD_NUMURMON "Build the numurmon utility" OFF)
20 if(BUILD_UMURMUR_MONITOR OR BUILD_NUMURMON)
21 set(UMURMUR_ROOT_PATH "${PROJECT_SOURCE_DIR}")
25 if(BUILD_UMURMUR_MONITOR)
26 add_subdirectory(${UMURMUR_MONITOR_DIR})
30 add_subdirectory(${NUMURMON_DIR})