<commit_before>cmake_minimum_required (VERSION 2.6)

set (CMAKE_BUILD_TYPE Debug CACHE STRING "Build type")
set (OGDT_AVOID_NORMALISATION False CACHE BOOL "Turn on vector normalisation optimisations")
set (CMAKE_DEBUG_POSTFIX "d")

project (OGDT)

include_directories (../include)
file (GLOB_RECURSE SOURCES ../src/*.cc ../src/*.c)
add_library (OGDT STATIC ${SOURCES})

set (CMAKE_CXX_FLAGS "--std=c++0x")
set (LIBRARY_OUTPUT_PATH "../bin")<commit_msg>Added assimp and glfw checks<commit_after>cmake_minimum_required (VERSION 2.6)

set (CMAKE_BUILD_TYPE Debug CACHE STRING "Build type")
set (OGDT_AVOID_NORMALISATION False CACHE BOOL "Turn on vector normalisation optimisations")
set (CMAKE_DEBUG_POSTFIX "d")

project (OGDT)

FIND_LIBRARY (assimp assimp)
	IF (assimp EQUAL assimp-NOTFOUND)
		MESSAGE( FATAL_ERROR
			"Assimp library (http://assimp.sourceforge.net/) not found. "
			"To-do: Make assimp an optional dependency."
		)
	ENDIF (assimp EQUAL assimp-NOTFOUND)

FIND_LIBRARY (glfw glfw)
	IF (glfw EQUAL glfw-NOTFOUND)
		MESSAGE( FATAL_ERROR
			"GLFW library (http://www.glfw.org/) not found. "
			"To-do: Make glfw an optional dependency."
		)
	ENDIF (glfw EQUAL glfw-NOTFOUND)

include_directories (../include)
file (GLOB_RECURSE SOURCES ../src/*.cc ../src/*.c)
add_library (OGDT STATIC ${SOURCES})

set (CMAKE_CXX_FLAGS "--std=c++0x")
set (LIBRARY_OUTPUT_PATH "../bin")
{'fraction_non_alphanumeric': 0.12472806381435823, 'fraction_numerical': 0.00435097897026831, 'mean_word_length': 4.974025974025974, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '4496226', 'n_tokens_mistral': 559, 'n_tokens_neox': 503, 'n_words': 135}