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

set(SOURCES
  src/main.cpp
  src/freezztManager.cpp
  src/debug.cpp
  src/dotFileParser.cpp
  src/textmodePainter.cpp
  src/gameWorld.cpp
  src/gameBoard.cpp
  src/zztEntity.cpp
  src/abstractPainter.cpp
  src/loader/worldLoader.cpp
  src/loader/thingFactory.cpp
  src/loader/zztStructs.cpp
  src/things/zztThing.cpp
  src/things/enemies.cpp
)

find_package(SDL REQUIRED)

include_directories(
  ${SDL_INCLUDE_DIR}
  src
  src/loader
  src/things
  src/zztoop
)

link_libraries(
  ${SDL_LIBRARY}
  SDLmain
)

set(CMAKE_CXX_FLAGS "-Wall -W -Wno-unused -fexpensive-optimizations -O2 -g")

add_executable(freezzt ${SOURCES})

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/freezztrc
    ${CMAKE_CURRENT_BINARY_DIR}/freezztrc COPYONLY)<commit_msg>Clean up CMakeLists.txt to specify release/debug build type.<commit_after># FreeZZT Project

cmake_minimum_required(VERSION 2.6)
project(FREEZZT)

set(SOURCES
  src/main.cpp
  src/freezztManager.cpp
  src/debug.cpp
  src/dotFileParser.cpp
  src/textmodePainter.cpp
  src/gameWorld.cpp
  src/gameBoard.cpp
  src/zztEntity.cpp
  src/abstractPainter.cpp
  src/loader/worldLoader.cpp
  src/loader/thingFactory.cpp
  src/loader/zztStructs.cpp
  src/things/zztThing.cpp
  src/things/enemies.cpp
)

find_package(SDL REQUIRED)

include_directories(
  ${SDL_INCLUDE_DIR}
  src
  src/loader
  src/things
  src/zztoop
)

link_libraries(
  ${SDL_LIBRARY}
  SDLmain
)

if(NOT CMAKE_BUILD_TYPE)
  set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
      "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
      FORCE)
endif(NOT CMAKE_BUILD_TYPE)

set(CMAKE_CXX_FLAGS "-Wall -W -Wno-unused") 

add_executable(freezzt ${SOURCES})

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/freezztrc
    ${CMAKE_CURRENT_BINARY_DIR}/freezztrc COPYONLY)
{'fraction_non_alphanumeric': 0.09725953788285868, 'fraction_numerical': 0.0026867275658248252, 'mean_word_length': 4.608433734939759, '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': '3252183', 'n_tokens_mistral': 778, 'n_tokens_neox': 724, 'n_words': 109}