<commit_before>cmake_minimum_required(VERSION 2.8)
project(clibgame)

# Setting compiler flags.
set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")

# Setting the output directories.
set(EXECUTABLE_OUTPUT_PATH "${PROJECT_SOURCE_DIR}/build/bin")
set(LIBRARY_OUTPUT_PATH    "${PROJECT_SOURCE_DIR}/build/lib")

# Declaring the set of sources.
set(SOURCES
  src/clibgame/res/animation.cpp
  src/clibgame/res/texsheet.cpp
  src/clibgame/engineconfig.cpp
  src/clibgame/res/texture.cpp
  src/clibgame/res/shader.cpp
  src/clibgame/eventing.cpp
  src/clibgame/engine.cpp
  src/clibgame/delta.cpp
  src/clibgame/timer.cpp
  src/clibgame/ecp.cpp
  src/clibgame/res.cpp
)

# Adding this library.
add_library(clibgame STATIC ${SOURCES})

# Finding and setting up some packages.
find_package(glew REQUIRED)
find_package(glfw REQUIRED)
find_package(png REQUIRED)

include_directories(${GLEW_INCLUDE_DIRS}
                    ${GLFW_INCLUDE_DIRS}
                    ${PNG_INCLUDE_DIRS})

target_link_libraries(clibgame ${GLEW_LIBRARY}
                               ${GLFW_LIBRARY}
                               ${PNG_LIBRARY})

# Declaring how we should install this.
install(TARGETS clibgame
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib/static)

install(DIRECTORY src/
        DESTINATION include
        FILES_MATCHING PATTERN *.hpp)<commit_msg>Made it install the .cmake file.<commit_after>cmake_minimum_required(VERSION 2.8)
project(clibgame)

# Setting compiler flags.
set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")

# Setting the output directories.
set(EXECUTABLE_OUTPUT_PATH "${PROJECT_SOURCE_DIR}/build/bin")
set(LIBRARY_OUTPUT_PATH    "${PROJECT_SOURCE_DIR}/build/lib")

# Declaring the set of sources.
set(SOURCES
  src/clibgame/res/animation.cpp
  src/clibgame/res/texsheet.cpp
  src/clibgame/engineconfig.cpp
  src/clibgame/res/texture.cpp
  src/clibgame/res/shader.cpp
  src/clibgame/eventing.cpp
  src/clibgame/engine.cpp
  src/clibgame/delta.cpp
  src/clibgame/timer.cpp
  src/clibgame/ecp.cpp
  src/clibgame/res.cpp
)

# Adding this library.
add_library(clibgame STATIC ${SOURCES})

# Finding and setting up some packages.
find_package(glew REQUIRED)
find_package(glfw REQUIRED)
find_package(png REQUIRED)

include_directories(${GLEW_INCLUDE_DIRS}
                    ${GLFW_INCLUDE_DIRS}
                    ${PNG_INCLUDE_DIRS})

target_link_libraries(clibgame ${GLEW_LIBRARY}
                               ${GLFW_LIBRARY}
                               ${PNG_LIBRARY})

# Declaring how we should install this.
install(TARGETS clibgame
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib/static)

install(DIRECTORY src/
        DESTINATION include
        FILES_MATCHING PATTERN *.hpp)

install(FILES src/Findclibgame.cmake
        DESTINATION "${CMAKE_ROOT}/Modules")
{'fraction_non_alphanumeric': 0.09594882729211088, 'fraction_numerical': 0.0028429282160625444, 'mean_word_length': 3.4261006289308176, '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': '3656101', 'n_tokens_mistral': 1045, 'n_tokens_neox': 971, 'n_words': 168}