<commit_before>PROJECT(OpenCOR)

# Minimum required version of CMake

CMAKE_MINIMUM_REQUIRED(VERSION 2.8.9)

# Some in-house CMake functions/macros

INCLUDE(${CMAKE_SOURCE_DIR}/../cmake/common.cmake)

# Initialise the project

INITIALISE_PROJECT()

# Files that make up the CLI version of OpenCOR

SET(SOURCES
    src/main.cpp

    ../src/misc/cliapplication.cpp
    ../src/misc/common.cpp

    ../src/plugins/plugin.cpp
    ../src/plugins/plugininfo.cpp
    ../src/plugins/pluginmanager.cpp

    ../src/plugins/misc/Core/src/cliutils.cpp
)

SET(HEADERS_MOC
    ../src/plugins/plugin.h
    ../src/plugins/pluginmanager.h
)

SET(RESOURCES
    ../res/common.qrc
)

# Various include directories

INCLUDE_DIRECTORIES(
    ../src/comp
    ../src/misc
    ../src/plugins
    ../src/plugins/misc/Core/src
)

# Build the CLI version of OpenCOR

QT5_WRAP_CPP(SOURCES_MOC ${HEADERS_MOC})
QT5_ADD_RESOURCES(SOURCES_RCS ${RESOURCES})
<commit_msg>Minor fix to get the console version of OpenCOR to build on Windows.<commit_after>PROJECT(OpenCOR)

# Minimum required version of CMake

CMAKE_MINIMUM_REQUIRED(VERSION 2.8.9)

# Some in-house CMake functions/macros

INCLUDE(${CMAKE_SOURCE_DIR}/../cmake/common.cmake)

# Initialise the project

INITIALISE_PROJECT()

# Files that make up the CLI version of OpenCOR

SET(SOURCES
    src/main.cpp

    ../src/misc/cliapplication.cpp
    ../src/misc/common.cpp

    ../src/plugins/plugin.cpp
    ../src/plugins/plugininfo.cpp
    ../src/plugins/pluginmanager.cpp

    ../src/plugins/misc/Core/src/cliutils.cpp
)

SET(HEADERS_MOC
    ../src/plugins/plugin.h
    ../src/plugins/pluginmanager.h

    ../src/plugins/misc/Core/src/cliutils.h
)

SET(RESOURCES
    ../res/common.qrc
)

# Various include directories

INCLUDE_DIRECTORIES(
    ../src/comp
    ../src/misc
    ../src/plugins
    ../src/plugins/misc/Core/src
)

# Build the CLI version of OpenCOR

QT5_WRAP_CPP(SOURCES_MOC ${HEADERS_MOC})
QT5_ADD_RESOURCES(SOURCES_RCS ${RESOURCES})

{'fraction_non_alphanumeric': 0.1319796954314721, 'fraction_numerical': 0.005076142131979695, 'mean_word_length': 3.080745341614907, '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': '1644237', 'n_tokens_mistral': 789, 'n_tokens_neox': 709, 'n_words': 127}