<commit_before>#####################################################
#!This file is autogenerated by the CBTek Code Base Manager
#####################################################

cmake_minimum_required(VERSION 2.8.12)
project(SourceGen)

add_definitions(-std=c++11)
if (WIN32)
    if (MSVC)

    else()
        set(CMAKE_CXX_FLAGS_RELEASE "-g -Wl,--no-as-needed -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0")
        set(CMAKE_CXX_FLAGS_DEBUG "-g -Wl,--no-as-needed -std=c++11  -D_GLIBCXX_USE_CXX11_ABI=0")
    endif()

else()
    set(CMAKE_CXX_FLAGS_RELEASE "-g -Wl,--no-as-needed -std=c++11 -pthread -fPIC -ldl -D_GLIBCXX_USE_CXX11_ABI=0")
    set(CMAKE_CXX_FLAGS_DEBUG "-g -Wl,--no-as-needed -std=c++11 -pthread -fPIC -ldl -D_GLIBCXX_USE_CXX11_ABI=0")

endif()

set(LIBRARY_TYPE STATIC)

get_filename_component(PROJECT_ROOT ${CMAKE_CURRENT_BINARY_DIR} PATH)

set (ENABLE_COMMON_UTILS_UNIT_TESTS ON)

if (WIN32)
    set (PLATFORM WIN32)
endif()

IF(CMAKE_BUILD_TYPE MATCHES DEBUG)
        set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_ROOT}/bin/debug")
        set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_ROOT}/bin/debug")
        set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_ROOT}/bin/debug")
ELSE()
        set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_ROOT}/bin/release")
        set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_ROOT}/bin/release")
        set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_ROOT}/bin/release")
ENDIF()

include_directories("${PROJECT_SOURCE_DIR}/common")
include_directories("${PROJECT_SOURCE_DIR}/products/sgen/sgen_utils")
add_subdirectory("${PROJECT_SOURCE_DIR}/common/utility")
add_subdirectory("${PROJECT_SOURCE_DIR}/products/sgen/sgen")
add_subdirectory("${PROJECT_SOURCE_DIR}/products/sgen/sgen_utils")
add_subdirectory("${PROJECT_SOURCE_DIR}/products/sgen/sgen_qt")<commit_msg>Updated so that flag and build settings come from cmake folder<commit_after>#####################################################
#!This file is autogenerated by the CBTek Code Base Manager
#####################################################

cmake_minimum_required(VERSION 2.8.12)
project(SourceGen)
set(LIBRARY_TYPE STATIC)
get_filename_component(PROJECT_ROOT ${CMAKE_CURRENT_BINARY_DIR} PATH)

set (CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")

include(${CMAKE_MODULE_PATH}/flags.cmake)
include(${CMAKE_MODULE_PATH}/build.cmake)
set (ENABLE_COMMON_UTILS_UNIT_TESTS ON)

if (WIN32)
    set (PLATFORM WIN32)
endif()

include_directories("${PROJECT_SOURCE_DIR}/common")
include_directories("${PROJECT_SOURCE_DIR}/products/sgen")
add_subdirectory("${PROJECT_SOURCE_DIR}/common/utility")
add_subdirectory("${PROJECT_SOURCE_DIR}/products/sgen/sgen_utils")
add_subdirectory("${PROJECT_SOURCE_DIR}/products/sgen/sgen")
add_subdirectory("${PROJECT_SOURCE_DIR}/products/sgen/sgen_qt")
{'fraction_non_alphanumeric': 0.19678571428571429, 'fraction_numerical': 0.014285714285714285, 'mean_word_length': 7.38622754491018, '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': '5652052', 'n_tokens_mistral': 1069, 'n_tokens_neox': 993, 'n_words': 134}