<commit_before>cmake_minimum_required(VERSION 2.6)
project(libigl)

SET(CMAKE_SKIP_RULE_DEPENDENCY 1)

# SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ../../lib)
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../tutorial/cmake)
find_package(EIGEN REQUIRED)

add_definitions(-DIGL_STATIC_LIBRARY)
add_definitions(-DIGL_NO_OPENGL)
add_definitions(-DIGL_OPENGL_4)

## Check for GLFW
find_package(GLFWH QUIET)
if (GLFW_FOUND)
  include_directories( ${GLFW_INCLUDE_DIR})
else (GLFW_FOUND)
  message(STATUS "GLFW not found.")
endif(GLFW_FOUND)
<commit_msg>optional flags<commit_after>cmake_minimum_required(VERSION 2.6)
project(libigl)

SET(CMAKE_SKIP_RULE_DEPENDENCY 1)

# SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ../../lib)
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../tutorial/cmake)
find_package(EIGEN REQUIRED)

add_definitions(-DIGL_STATIC_LIBRARY)
option(LIBIGL_NO_OPENGL "Disable OpenGL2 legacy features in main library" ON)
option(LIBIGL_OPENGL_4 "Enable OpenGL4 features in optional libraries" ON)

if(LIBIGL_NO_OPENGL)
  add_definitions(-DIGL_NO_OPENGL)
endif(LIBIGL_NO_OPENGL)
if(LIBIGL_OPENGL_4)
  add_definitions(-DIGL_OPENGL_4)
endif(LIBIGL_OPENGL_4)

## Check for GLFW
find_package(GLFWH QUIET)
if (GLFW_FOUND)
  include_directories( ${GLFW_INCLUDE_DIR})
else (GLFW_FOUND)
  message(STATUS "GLFW not found.")
endif(GLFW_FOUND)

{'fraction_non_alphanumeric': 0.10310841546626232, 'fraction_numerical': 0.009855951478392721, 'mean_word_length': 8.428571428571429, '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': '1645635', 'n_tokens_mistral': 564, 'n_tokens_neox': 527, 'n_words': 82}