<commit_before># Copyright 2015 by <NAME>
#
# gsl-lite is based on GSL: Guidelines Support Library,
# https://github.com/microsoft/gsl
#
# This code is licensed under the MIT License (MIT). 

cmake_minimum_required( VERSION 2.8 )

project( test )

include_directories  ( "${PROJECT_SOURCE_DIR}/../include" )

set( SOURCES gsl-lite.t.cpp at.t.cpp not_null.t.cpp owner.t.cpp util.t.cpp )

add_executable (   gsl-lite.t ${SOURCES} )
add_definitions( -Dgsl_FEATURE_THROW_ON_FAILURE  )

set( SINGLE_TEST_PROGRAM TRUE )

# GNU: have -std=c++14 and lower?
if( ${CMAKE_CXX_COMPILER_ID} MATCHES "GNU" )
    execute_process(
        COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)

    # command line option -std=c++14 since gcc4.8:
    if( GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8 )
        set( SINGLE_TEST_PROGRAM FALSE )
    endif()
endif()

if( ${CMAKE_CXX_COMPILER_ID} MATCHES "MSVC" )
    add_compile_options( -W3 -EHsc )

elseif( ${CMAKE_CXX_COMPILER_ID} MATCHES "GNU" OR
        ${CMAKE_CXX_COMPILER_ID} MATCHES "Clang" )
    add_executable( gsl-lite-cpp98.t ${SOURCES} )
    add_executable( gsl-lite-cpp03.t ${SOURCES} )
    add_executable( gsl-lite-cpp11.t ${SOURCES} )<commit_msg>Fix include folder<commit_after># Copyright 2015 by <NAME>
#
# gsl-lite is based on GSL: Guidelines Support Library,
# https://github.com/microsoft/gsl
#
# This code is licensed under the MIT License (MIT). 

cmake_minimum_required( VERSION 2.8 )

project( test )

include_directories  ( "${PROJECT_SOURCE_DIR}/../include/gsl" )

set( SOURCES gsl-lite.t.cpp at.t.cpp not_null.t.cpp owner.t.cpp util.t.cpp )

add_executable (   gsl-lite.t ${SOURCES} )
add_definitions( -Dgsl_FEATURE_THROW_ON_FAILURE  )

set( SINGLE_TEST_PROGRAM TRUE )

# GNU: have -std=c++14 and lower?
if( ${CMAKE_CXX_COMPILER_ID} MATCHES "GNU" )
    execute_process(
        COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)

    # command line option -std=c++14 since gcc4.8:
    if( GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8 )
        set( SINGLE_TEST_PROGRAM FALSE )
    endif()
endif()

if( ${CMAKE_CXX_COMPILER_ID} MATCHES "MSVC" )
    add_compile_options( -W3 -EHsc )

elseif( ${CMAKE_CXX_COMPILER_ID} MATCHES "GNU" OR
        ${CMAKE_CXX_COMPILER_ID} MATCHES "Clang" )
    add_executable( gsl-lite-cpp98.t ${SOURCES} )
    add_executable( gsl-lite-cpp03.t ${SOURCES} )
    add_executable( gsl-lite-cpp11.t ${SOURCES} )
{'fraction_non_alphanumeric': 0.12029161603888214, 'fraction_numerical': 0.01863102470635885, 'mean_word_length': 4.082304526748971, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1735332', 'n_tokens_mistral': 1084, 'n_tokens_neox': 967, 'n_words': 208}