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

# Check to ensure that we are running as part of the
# root CMakeLists.txt file.
if(NOT DEFINED IS_ROOT)
  message(FATAL_ERROR "You must generate the CMake files as part of the root directory.")
endif(NOT DEFINED IS_ROOT)


# Define the emulator project.
dt_project(executable)
dt_needs(argtable2)
dt_needs(libdcpu)
dt_needs(libdcpu-vm)

IF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
	dt_needs_prebuilt(libtcod libtcod-VS)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")


IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
    find_library(tcod tcod)
	target_link_libraries(emulator tcod)
	# if library is not installed
	dt_needs_prebuilt(libtcod libtcod-VS)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")<commit_msg>do not use prebuilt libtcod-VS on linux because it currently only adds .lib windows static libraries<commit_after>cmake_minimum_required(VERSION 2.6)
project(emulator)

# Check to ensure that we are running as part of the
# root CMakeLists.txt file.
if(NOT DEFINED IS_ROOT)
  message(FATAL_ERROR "You must generate the CMake files as part of the root directory.")
endif(NOT DEFINED IS_ROOT)


# Define the emulator project.
dt_project(executable)
dt_needs(argtable2)
dt_needs(libdcpu)
dt_needs(libdcpu-vm)

IF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
	dt_needs_prebuilt(libtcod libtcod-VS)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")


IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
    find_library(tcod tcod)
	target_link_libraries(emulator tcod)
	# if library is not installed
	#dt_needs_prebuilt(libtcod libtcod-VS)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
{'fraction_non_alphanumeric': 0.08906633906633907, 'fraction_numerical': 0.0036855036855036856, 'mean_word_length': 6.757142857142857, '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': '7022416', 'n_tokens_mistral': 642, 'n_tokens_neox': 588, 'n_words': 152}