<commit_before># File: /CMakeLists.txt
# Author(s): <NAME> (ThyLordRoot)
# Since: 1/4/2014

# Set up project 
PROJECT(helion CXX)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

# A place for external contributions to go
FILE(MAKE_DIRECTORY external)
FILE(MAKE_DIRECTORY external/cmake/)
SET(CMAKE_MODULE_PATH "external/cmake/")

# Setup any local flags we need, like C++11 support
IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
	SET(CXX11_FLAG "-std=c++11")
ELSEIF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
	SET(CXX11_FLAG "-std=c++11")
ENDIF()

# No compliant compiler was found
IF(NOT CXX11_FLAG)
	MESSAGE(FATAL_ERROR "Helion requires C++11 support (found ${CMAKE_CXX_COMPILER_ID}-${CMAKE_CXX_COMPILER_VERSION}). Please use a compliant compiler.")
ELSE()
	ADD_DEFINITIONS(${CXX11_FLAG})
ENDIF()

# We need to find OpenGL
find_package(OpenGL REQUIRED)
IF (NOT OPENGL_FOUND)
	MESSAGE(FATAL_ERROR "OpenGL is required to build Helion.")
ELSEIF (NOT OPENGL_GLU_FOUND)
	MESSAGE(FATAL_ERROR "GLU is required to build Helion.")
ELSE()<commit_msg>Needed to add C support for the build to occur on some OSes<commit_after># File: /CMakeLists.txt
# Author(s): <NAME> (ThyLordRoot)
# Since: 1/4/2014

# Set up project 
PROJECT(helion C CXX)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

# A place for external contributions to go
FILE(MAKE_DIRECTORY external)
FILE(MAKE_DIRECTORY external/cmake/)
SET(CMAKE_MODULE_PATH "external/cmake/")

# Setup any local flags we need, like C++11 support
IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
	SET(CXX11_FLAG "-std=c++11")
ELSEIF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
	SET(CXX11_FLAG "-std=c++11")
ENDIF()

# No compliant compiler was found
IF(NOT CXX11_FLAG)
	MESSAGE(FATAL_ERROR "Helion requires C++11 support (found ${CMAKE_CXX_COMPILER_ID}-${CMAKE_CXX_COMPILER_VERSION}). Please use a compliant compiler.")
ELSE()
	ADD_DEFINITIONS(${CXX11_FLAG})
ENDIF()

# We need to find OpenGL
find_package(OpenGL REQUIRED)
IF (NOT OPENGL_FOUND)
	MESSAGE(FATAL_ERROR "OpenGL is required to build Helion.")
ELSEIF (NOT OPENGL_GLU_FOUND)
	MESSAGE(FATAL_ERROR "GLU is required to build Helion.")
ELSE()
{'fraction_non_alphanumeric': 0.11920529801324503, 'fraction_numerical': 0.02270577105014191, 'mean_word_length': 6.553571428571429, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4688079', 'n_tokens_mistral': 878, 'n_tokens_neox': 797, 'n_words': 210}