<commit_before>CMAKE_MINIMUM_REQUIRED(VERSION 3.0)

PROJECT(LD35)

SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules" ${CMAKE_MODULE_PATH})


FIND_PACKAGE(SFML COMPONENTS audio graphics window system REQUIRED)

SET(
    SRCS
    src/main.cpp
    src/Level.cpp
    src/ScreenStack.cpp
    src/GameScreenState.cpp
    src/MenuScreenState.cpp
    src/scene.cpp
    src/scenenode.cpp
    src/spritescenenode.cpp
)

ADD_EXECUTABLE(
    LD35
    ${SRCS}
)

ADD_DEFINITIONS(
    --std=c++11
)

INCLUDE_DIRECTORIES(
    ${SFML_INCLUDE_DIR}
)

TARGET_LINK_LIBRARIES(
    LD35
    ${SFML_AUDIO_LIBRARY}
    ${SFML_GRAPHICS_LIBRARY}
    ${SFML_WINDOW_LIBRARY}
    ${SFML_SYSTEM_LIBRARY}
)<commit_msg>Mise à jour du CMake.<commit_after>CMAKE_MINIMUM_REQUIRED(VERSION 3.0)

PROJECT(LD35)

SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules" ${CMAKE_MODULE_PATH})


FIND_PACKAGE(SFML COMPONENTS audio graphics window system REQUIRED)

SET(
    SRCS
    src/main.cpp
    src/menuelements.cpp
    src/level.cpp
    src/screenstack.cpp
    src/gamescreenstate.cpp
    src/menuscreenstate.cpp
    src/scene.cpp
    src/scenenode.cpp
    src/sousmenu.cpp
    src/spritescenenode.cpp
)

ADD_EXECUTABLE(
    LD35
    ${SRCS}
)

ADD_DEFINITIONS(
    --std=c++11
)

INCLUDE_DIRECTORIES(
    ${SFML_INCLUDE_DIR}
)

TARGET_LINK_LIBRARIES(
    LD35
    ${SFML_AUDIO_LIBRARY}
    ${SFML_GRAPHICS_LIBRARY}
    ${SFML_WINDOW_LIBRARY}
    ${SFML_SYSTEM_LIBRARY}
)
{'fraction_non_alphanumeric': 0.10027662517289074, 'fraction_numerical': 0.013831258644536652, 'mean_word_length': 3.7913907284768213, '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': '4841952', 'n_tokens_mistral': 642, 'n_tokens_neox': 590, 'n_words': 78}