<commit_before># Edge Based Tracker
project(EBT)
cmake_minimum_required(VERSION 2.8.7)

#set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
#set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})

# Set the version number for the library
set (EBT_VERSION_MAJOR 1)
set (EBT_VERSION_MINOR 0)
set (EBT_VERSION_PATCH 0)
math (EXPR EBT_VERSION_NUMERIC
    "10000 * ${EBT_VERSION_MAJOR} + 100 * ${EBT_VERSION_MINOR} + ${EBT_VERSION_PATCH}")
set (EBT_VERSION_STRING
    "${EBT_VERSION_MAJOR}.${EBT_VERSION_MINOR}.${EBT_VERSION_PATCH}")

###############################################################################
# Gather information, perform checks, set defaults

# Set the default install path to home
#set (CMAKE_INSTALL_PREFIX ${HOME} CACHE PATH "Install prefix for library")

set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(EbtMakeConfigFile)

# Record the root dir for ebt - needed during external builds, e.g., ROS
set(EBT_SOURCE_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})
message(STATUS "EBT_SOURCE_ROOT_DIR: [${EBT_SOURCE_ROOT_DIR}]")

# Load build type flags and default to Debug mode
#include(EbtBuildTypes)

# Use macros for creating tests/timing scripts
#include(EbtTesting)
#include(EbtPrinting)

# guard against in-source builds
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
  message(FATAL_ERROR
    "In-source builds not allowed.
        Please make a new directory (named build) and run CMake from there.
        You may need to remove CMakeCache.txt. ")
endif()

###############################################################################
# Set up options


###############################################################################
# Find Libraries
find_package( Boost    1.43 REQUIRED )
find_package( OpenGL   1.10 REQUIRED )
find_package( GLEW     1.10 REQUIRED )
find_package( GLUT    2.8.1 REQUIRED )
find_package( OpenCV  2.4.9 REQUIRED )
find_package( LAPACK    3.5 REQUIRED )
#find_package( BULLET        REQUIRED )
find_package(ASSIMP 3.0 QUIET)
if (${ASSIMP_FOUND})
  include_directories(${ASSIMP_INCLUDE_DIR})
  link_libraries(${ASSIMP_LIBRARIES})
  add_definitions(-DUSE_ASSIMP)
endif (${ASSIMP_FOUND})<commit_msg>commenting out ASSIMP for now<commit_after># Edge Based Tracker
project(EBT)
cmake_minimum_required(VERSION 2.8.7)

#set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
#set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})

# Set the version number for the library
set (EBT_VERSION_MAJOR 1)
set (EBT_VERSION_MINOR 0)
set (EBT_VERSION_PATCH 0)
math (EXPR EBT_VERSION_NUMERIC
    "10000 * ${EBT_VERSION_MAJOR} + 100 * ${EBT_VERSION_MINOR} + ${EBT_VERSION_PATCH}")
set (EBT_VERSION_STRING
    "${EBT_VERSION_MAJOR}.${EBT_VERSION_MINOR}.${EBT_VERSION_PATCH}")

###############################################################################
# Gather information, perform checks, set defaults

# Set the default install path to home
#set (CMAKE_INSTALL_PREFIX ${HOME} CACHE PATH "Install prefix for library")

set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(EbtMakeConfigFile)

# Record the root dir for ebt - needed during external builds, e.g., ROS
set(EBT_SOURCE_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})
message(STATUS "EBT_SOURCE_ROOT_DIR: [${EBT_SOURCE_ROOT_DIR}]")

# Load build type flags and default to Debug mode
#include(EbtBuildTypes)

# Use macros for creating tests/timing scripts
#include(EbtTesting)
#include(EbtPrinting)

# guard against in-source builds
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
  message(FATAL_ERROR
    "In-source builds not allowed.
        Please make a new directory (named build) and run CMake from there.
        You may need to remove CMakeCache.txt. ")
endif()

###############################################################################
# Set up options


###############################################################################
# Find Libraries
find_package( Boost    1.43 REQUIRED )
find_package( OpenGL   1.10 REQUIRED )
find_package( GLEW     1.10 REQUIRED )
find_package( GLUT    2.8.1 REQUIRED )
find_package( OpenCV  2.4.9 REQUIRED )
find_package( LAPACK    3.5 REQUIRED )
#find_package( BULLET        REQUIRED )
#find_package(ASSIMP 3.0 QUIET)
#if (${ASSIMP_FOUND})
#  include_directories(${ASSIMP_INCLUDE_DIR})
#  link_libraries(${ASSIMP_LIBRARIES})
#  add_definitions(-DUSE_ASSIMP)
#endif (${ASSIMP_FOUND})
{'fraction_non_alphanumeric': 0.19835841313269495, 'fraction_numerical': 0.015047879616963064, 'mean_word_length': 6.448217317487266, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4758719', 'n_tokens_mistral': 1539, 'n_tokens_neox': 1444, 'n_words': 347}