<commit_before>set(lib-src
    OptionsManager.cpp
    TerrainImages.cpp
    OptionsPaths.cpp
)

add_subdirectory(metaoutput)
add_subdirectory(noise)
add_subdirectory(tilegen)

add_library(wangscape STATIC ${lib-src})
add_executable(Wangscape Main.cpp)

target_link_libraries(wangscape metaoutput)
target_link_libraries(wangscape noise)
target_link_libraries(wangscape tilegen)
target_link_libraries(wangscape double-conversion)
target_link_libraries(wangscape spotify-json)

target_link_libraries(Wangscape wangscape)


find_package(Boost COMPONENTS system filesystem program_options REQUIRED)
if(Boost_FOUND)
    include_directories(${Boost_INCLUDE_DIR})
    link_directories(${Boost_LIBRARY_DIR})
    target_link_libraries(Wangscape ${Boost_LIBRARIES})
endif()

find_package(SFML 2 REQUIRED system graphics)
if(SFML_FOUND)
    include_directories(${SFML_INCLUDE_DIR})
    target_link_libraries(Wangscape ${SFML_LIBRARIES})
endif()<commit_msg>Rename a CMake library to avoid name collisions<commit_after>set(lib-src
    OptionsManager.cpp
    TerrainImages.cpp
    OptionsPaths.cpp
)

add_subdirectory(metaoutput)
add_subdirectory(noise)
add_subdirectory(tilegen)

add_library(wangscape-main STATIC ${lib-src})
add_executable(Wangscape Main.cpp)

target_link_libraries(wangscape-main metaoutput)
target_link_libraries(wangscape-main noise)
target_link_libraries(wangscape-main tilegen)
target_link_libraries(wangscape-main double-conversion)
target_link_libraries(wangscape-main spotify-json)

target_link_libraries(Wangscape wangscape-main)


find_package(Boost COMPONENTS system filesystem program_options REQUIRED)
if(Boost_FOUND)
    include_directories(${Boost_INCLUDE_DIR})
    link_directories(${Boost_LIBRARY_DIR})
    target_link_libraries(Wangscape ${Boost_LIBRARIES})
endif()

find_package(SFML 2 REQUIRED system graphics)
if(SFML_FOUND)
    include_directories(${SFML_INCLUDE_DIR})
    target_link_libraries(Wangscape ${SFML_LIBRARIES})
endif()
{'fraction_non_alphanumeric': 0.0802248339294839, 'fraction_numerical': 0.001021972406745018, 'mean_word_length': 8.74129353233831, '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': '887638', 'n_tokens_mistral': 703, 'n_tokens_neox': 651, 'n_words': 98}